Skip to content

Workflow file for this run

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
# We assume the runner is on x86.
jobs:
check_stable:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup --quiet toolchain install stable --profile=minimal --component=clippy,rustfmt
- run: rustup --quiet default stable
- run: cargo fmt --check
- run: cargo fetch --quiet --locked
- run: cargo clippy --quiet --frozen --workspace --all-targets -- -D warnings
- run: cargo xtask
check_msrv:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- run: rustup --quiet toolchain install 1.71 --profile=minimal --component=clippy,rustfmt
- run: rustup --quiet default 1.71
- run: cargo fetch --quiet --locked
- run: cargo clippy --quiet --frozen --workspace --all-targets -- -D warnings
- run: cargo xtask