Skip to content

Commit

Permalink
ci: add cache for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
anand-bala committed Oct 17, 2023
1 parent 7a68fd2 commit eab6e21
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,22 @@ jobs:
post-cleanup: 'all'
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@nightly
- name: Generate lockfile
run: cargo generate-lockfile
- name: Set up project cache
uses: actions/cache@v3
continue-on-error: false
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
.nox/
.hypothesis/
key: ${{ runner.os }}-argus-${{ hashFiles('**/Cargo.toml', 'noxfile.py') }}
restore-keys: ${{ runner.os }}-argus-
- name: Generate Coverage Reports
run: nox -s coverage
- name: Upload coverage reports to Codecov
Expand Down

0 comments on commit eab6e21

Please sign in to comment.