Skip to content

Commit

Permalink
add caching on workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nsantiago2719 committed Aug 10, 2023
1 parent 7b31f6e commit 74d4877
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/rust.yml
Expand Up @@ -14,6 +14,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache rust
id: cache-cargo
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Run tests
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_KEY }}
Expand Down

0 comments on commit 74d4877

Please sign in to comment.