diff options
| author | Cody <cody@codyq.dev> | 2023-07-28 01:51:59 -0500 |
|---|---|---|
| committer | Cody <cody@codyq.dev> | 2023-07-28 01:51:59 -0500 |
| commit | a43a6c01d7d28c050967d13ca29af952a2ef4b9b (patch) | |
| tree | 29df19cc527efb50a4d6faa7e16032e8ae73b549 /.github/workflows | |
| parent | b5650df341bbc99fe6b4cba9a9361abb430ad54b (diff) | |
| download | sloth-a43a6c01d7d28c050967d13ca29af952a2ef4b9b.tar.gz | |
Fix caching
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/linting.yml | 6 | ||||
| -rw-r--r-- | .github/workflows/testing.yml | 2 |
2 files changed, 4 insertions, 4 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: diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 49f3799..96150cf 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -22,7 +22,7 @@ jobs: ~/.cargo/registry ~/.cargo/git target - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + key: ${{ runner.os }}-rustc-${{ matrix.rust }}-cargo-${{ hashFiles('**/Cargo.lock') }} - run: rm rust-toolchain.toml - uses: dtolnay/rust-toolchain@stable with: |
