diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-10-06 15:42:46 +0200 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-10-06 15:42:46 +0200 |
commit | 0678c21e091d4c4032ffe310976668477b145be8 (patch) | |
tree | 49485bdc8ed0977cd531fbe1dd63395f2ec7546d | |
parent | 2518807c1e1ac47384a651fd7214a475707ebd1b (diff) | |
download | planetwars.dev-0678c21e091d4c4032ffe310976668477b145be8.tar.xz planetwars.dev-0678c21e091d4c4032ffe310976668477b145be8.zip |
add cargo cache to test build
-rw-r--r-- | .github/workflows/rust-tests.yml | 13 |
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 |