Skip to content

Commit

Permalink
add github action build cache
Browse files Browse the repository at this point in the history
  • Loading branch information
cart committed Jun 8, 2020
1 parent 50651fa commit 8fbbbba
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand Down

0 comments on commit 8fbbbba

Please sign in to comment.