aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/rust-tests.yml13
1 files changed, 12 insertions, 1 deletions
diff --git a/.github/workflows/rust-tests.yml b/.github/workflows/rust-tests.yml
index ab3a7eb..fa6ea57 100644
--- a/.github/workflows/rust-tests.yml
+++ b/.github/workflows/rust-tests.yml
@@ -23,9 +23,20 @@ jobs:
- name: Setup tests
run: |
docker pull python:3.10-slim-buster
+
+ - name: Cargo cache
+ uses: actions/cache@v3
+ with:
+ path: |
+ ~/.cargo/bin/
+ ~/.cargo/registry/index/
+ ~/.cargo/registry/cache/
+ ~/.cargo/git/db/
+ target/
+ key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Test
run: |
cd planetwars-matchrunner
cargo check
- cargo test --all \ No newline at end of file
+ cargo test \ No newline at end of file