From a70583175bcd2cf3efcf472f566c48050e7c4f9a Mon Sep 17 00:00:00 2001 From: NiseVoid <nisevoid@gmail.com> Date: Fri, 14 Jul 2023 21:12:48 +0200 Subject: [PATCH] Another attempt at making CI work --- .github/workflows/rust.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c64dc44..e8a0e0e 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -18,7 +18,10 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: dtolnay/rust-toolchain@1.70 + - uses: dtolnay/rust-toolchain@master + with: + toolchain: 1.70.0 + components: clippy, rustfmt - uses: actions/checkout@v3 - uses: actions/cache@v3 with: @@ -28,7 +31,7 @@ jobs: ~/.cargo/registry/cache/ ~/.cargo/git/db/ target/ - key: ${{ runner.os }}-cargo-build-stable-${{ hashFiles('**/Cargo.toml') }} + key: ${{ runner.os }}-cargo-build-${{steps.toolchain.outputs.cachekey}}-${{ hashFiles('**/Cargo.toml') }} - name: Install alsa and udev run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev if: runner.os == 'linux' -- GitLab