Skip to content

Commit

Permalink
fix cache keys
Browse files Browse the repository at this point in the history
  • Loading branch information
tjjfvi committed Feb 23, 2024
1 parent 7f60475 commit 287f8a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/cache@v2
with:
path: ~/.cargo/registry ~/.cargo/git target
key: ${{ runner.os }}-client-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-check-${{ hashFiles('**/Cargo.lock') }}
- run: RUSTFLAGS="-D warnings" cargo check --all-targets
- run: RUSTFLAGS="-D warnings" cargo check --all-targets --features trace
- run: RUSTFLAGS="-D warnings" cargo check --all-targets --features _fuzz
Expand All @@ -27,7 +27,7 @@ jobs:
- uses: actions/cache@v2
with:
path: ~/.cargo/registry ~/.cargo/git target
key: ${{ runner.os }}-client-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-test-${{ hashFiles('**/Cargo.lock') }}
- run: cargo test
- run: cargo test --release --features _fuzz --test fuzz
fmt:
Expand All @@ -40,7 +40,7 @@ jobs:
- uses: actions/cache@v2
with:
path: ~/.cargo/registry ~/.cargo/git target
key: ${{ runner.os }}-client-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-fmt-${{ hashFiles('**/Cargo.lock') }}
- run: cargo fmt --check
bench:
runs-on: ubuntu-latest
Expand All @@ -50,7 +50,7 @@ jobs:
- uses: actions/cache@v2
with:
path: ~/.cargo/registry ~/.cargo/git target
key: ${{ runner.os }}-client-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-bench-${{ hashFiles('**/Cargo.lock') }}
- run: cargo bench
cspell:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 287f8a0

Please sign in to comment.