add github action build cache
This commit is contained in:
parent
50651fa5dd
commit
8fbbbba674
7
.github/workflows/rust.yml
vendored
7
.github/workflows/rust.yml
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user