Skip to content

Commit

Permalink
Use Swatinem/rust-cache for caching in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasKalbertodt committed Oct 2, 2021
1 parent da4e60a commit 5e50cd8
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,8 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Prepare cache key
run: |
cp Cargo.lock cache-fingerprint
echo $RUSTFLAGS >> cache-fingerprint
echo $(rustc -V) >> cache-fingerprint
- name: Restore cargo cache
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('cache-fingerprint') }}
uses: Swatinem/[email protected]
- name: Install tsc
run: npm install
working-directory: lib
Expand Down

0 comments on commit 5e50cd8

Please sign in to comment.