From 287f8a02d0e04b07b2b031aed9ea7584080b95ef Mon Sep 17 00:00:00 2001 From: tjjfvi Date: Fri, 23 Feb 2024 13:16:03 -0500 Subject: [PATCH] fix cache keys --- .github/workflows/checks.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 2a65b34d..decd85e5 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -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 @@ -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: @@ -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 @@ -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