summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-12-07 19:33:30 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-12-07 19:33:30 +0100
commit7e94eaca8e0b11b0d982a480854177503c153a54 (patch)
treecff0a8675dbc2fdfed6afc379befdb7a082c419b
parentfd4050427f687ea9d12828a0417f073ab1516dd6 (diff)
parent330d9324065826794e9a25a8478fcb7baca189dd (diff)
Merge branch 'gh-actions-cache'
-rw-r--r--.github/workflows/ci.yml9
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: