Skip to content

Merge branch 'next' into 0.21.0 #137

Merge branch 'next' into 0.21.0

Merge branch 'next' into 0.21.0 #137

Workflow file for this run

name: Rust Checks
on:
push:
jobs:
check-fmt:
name: Check Formatting
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install latest Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Check formatting
run: cargo fmt --check
check-clippy:
name: Check Clippy Suggestions
runs-on: ubuntu-latest
container:
image: ghcr.io/gtk-rs/gtk4-rs/gtk4:latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: yum -y update && yum -y install atk-devel libadwaita-devel gtksourceview5-devel
- name: Install latest Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Check clippy
run: cargo clippy