summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-12-07 19:00:20 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-12-07 19:00:20 +0100
commit330d9324065826794e9a25a8478fcb7baca189dd (patch)
treecff0a8675dbc2fdfed6afc379befdb7a082c419b /.github
parentfd4050427f687ea9d12828a0417f073ab1516dd6 (diff)
Add CI caching
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to '.github')
-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: