diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-12-07 19:33:30 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-12-07 19:33:30 +0100 |
commit | 7e94eaca8e0b11b0d982a480854177503c153a54 (patch) | |
tree | cff0a8675dbc2fdfed6afc379befdb7a082c419b | |
parent | fd4050427f687ea9d12828a0417f073ab1516dd6 (diff) | |
parent | 330d9324065826794e9a25a8478fcb7baca189dd (diff) |
Merge branch 'gh-actions-cache'
-rw-r--r-- | .github/workflows/ci.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index efece1a..4e24907 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,6 +54,15 @@ jobs: toolchain: ${{ matrix.rust }} override: true + - name: Cache Setup + uses: actions/cache@v2 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + target + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + - name: Run cargo test uses: actions-rs/cargo@v1 with: |