.github/workflows/build.yml: Pass +stable to cargo

Otherwise `rust-toolchain.yml` overrides the compiler we try to
install, and rustfmt isn't found.
This commit is contained in:
Ian Douglas Scott 2025-05-15 14:08:21 -07:00 committed by Victoria Brekenfeld
parent 8dece70f7e
commit d3822d161a

View file

@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: sudo apt-get update; sudo apt-get install -y libdrm-dev libudev-dev libgbm-dev libxkbcommon-dev libegl1-mesa-dev libwayland-dev libinput-dev libdbus-1-dev libsystemd-dev libseat-dev libdisplay-info-dev
- run: cargo check --no-default-features
- run: cargo check --features debug
- run: cargo check --features profile-with-tracy
- run: cargo fmt --all -- --check
- run: cargo +stable check --no-default-features
- run: cargo +stable check --features debug
- run: cargo +stable check --features profile-with-tracy
- run: cargo +stable fmt --all -- --check