Skip to content

1.3.0-rc.1

1.3.0-rc.1 #90

Workflow file for this run

name: Rust Checks
on:
pull_request:
jobs:
check:
name: Check ${{ matrix.checks.name }}
runs-on: ubuntu-latest
container:
image: ghcr.io/gtk-rs/gtk4-rs/gtk4:latest
strategy:
fail-fast: false
matrix:
checks:
- name: Code
command: check --locked
- name: Formatting
component: rustfmt
command: fmt --check
- name: Clippy Suggestions
component: clippy
command: clippy --all-features
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install latest Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: ${{ matrix.checks.component }}
- name: Checking ${{ matrix.checks.name }}
run: cargo ${{ matrix.checks.command }}