Skip to content

Commit

Permalink
ci: speedup build with caching
Browse files Browse the repository at this point in the history
  • Loading branch information
Wenzel committed Feb 18, 2021
1 parent 4bbbad3 commit a9e9413
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,20 @@ jobs:
toolchain: stable
components: clippy
- uses: actions/checkout@v1

- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: build KVMi
uses: actions-rs/cargo@v1
with:
command: build

- name: annotate commit with clippy warnings
uses: actions-rs/clippy-check@v1
with:
Expand Down

0 comments on commit a9e9413

Please sign in to comment.