Skip to content

Commit

Permalink
ci: check cache before tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Anush008 committed Oct 10, 2023
1 parent c3833af commit 576cc29
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Run tests
run: cargo test

- uses: actions/cache@v3
with:
path: |
Expand All @@ -27,4 +24,7 @@ jobs:
~/.cargo/git/db/
target/
local_cache/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Run tests
run: cargo test

0 comments on commit 576cc29

Please sign in to comment.