Need a different cache for builds

This commit is contained in:
Natsu Kagami 2020-06-27 21:49:47 -04:00
parent 953f694985
commit fb3996639a
Signed by: nki
GPG key ID: 73376E117CD20735

View file

@ -36,7 +36,7 @@ jobs:
~/.cargo/registry ~/.cargo/registry
~/.cargo/git ~/.cargo/git
target target
key: ${{ runner.os }}-rust-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-rust-check-${{ hashFiles('**/Cargo.lock') }}
- name: Run cargo check - name: Run cargo check
run: cargo check run: cargo check
- name: Run clippy - name: Run clippy
@ -55,6 +55,6 @@ jobs:
~/.cargo/registry ~/.cargo/registry
~/.cargo/git ~/.cargo/git
target target
key: ${{ runner.os }}-rust-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-rust-debug-${{ hashFiles('**/Cargo.lock') }}
- name: Run cargo test - name: Run cargo test
run: cargo test run: cargo test