aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/linting.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/linting.yml')
-rw-r--r--.github/workflows/linting.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml
index 1a72dbc..42b6707 100644
--- a/.github/workflows/linting.yml
+++ b/.github/workflows/linting.yml
@@ -13,7 +13,7 @@ jobs:
~/.cargo/registry
~/.cargo/git
target
- key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
+ key: ${{ runner.os }}-rustc-${{ matrix.rust }}-cargo-${{ hashFiles('**/Cargo.lock') }}-deplint
- run: rm rust-toolchain.toml
- uses: EmbarkStudios/cargo-deny-action@v1
with:
@@ -30,7 +30,7 @@ jobs:
~/.cargo/registry
~/.cargo/git
target
- key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
+ key: ${{ runner.os }}-rustc-${{ matrix.rust }}-cargo-${{ hashFiles('**/Cargo.lock') }}-lint
- run: rm rust-toolchain.toml
- uses: dtolnay/rust-toolchain@stable
with:
@@ -51,7 +51,7 @@ jobs:
~/.cargo/registry
~/.cargo/git
target
- key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
+ key: ${{ runner.os }}-rustc-${{ matrix.rust }}-cargo-${{ hashFiles('**/Cargo.lock') }}-fmt
- run: rm rust-toolchain.toml
- uses: dtolnay/rust-toolchain@stable
with: