From d3822d161a00bb3670243d0f1ce433a7b54f51fc Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Thu, 15 May 2025 14:08:21 -0700 Subject: [PATCH] .github/workflows/build.yml: Pass `+stable` to cargo Otherwise `rust-toolchain.yml` overrides the compiler we try to install, and rustfmt isn't found. --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5469bac5..c3afa85e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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