Skip to content

Commit

Permalink
ci: add cache
Browse files Browse the repository at this point in the history
  • Loading branch information
antoKeinanen authored Aug 25, 2023
1 parent 2a549c5 commit a2e3f7e
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,17 @@ jobs:
uses: actions/checkout@v2

- name: Set up Rust
uses: ATiltedTree/setup-rust@v1.0.5
uses: actions-rs/toolchain@v1
with:
rust-version: stable
toolchain: stable

- name: Cache Rust dependencies
uses: actions/cache@v2
with:
path: ~/.cargo
key: rust-deps-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
rust-deps-
- name: Install Dependencies
run: cargo build --verbose
Expand All @@ -35,4 +43,3 @@ jobs:
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }} # Add your Codecov token as a secret

0 comments on commit a2e3f7e

Please sign in to comment.