Update rust.yml
This commit is contained in:
parent
1ba9efaa00
commit
7b94cc012a
|
@ -8,7 +8,7 @@ on:
|
|||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
CARGO_TARGET_DIR: ../target
|
||||
CARGO_TARGET_DIR: ~/cargo-target
|
||||
|
||||
jobs:
|
||||
check:
|
||||
|
@ -22,7 +22,7 @@ jobs:
|
|||
~/.cargo/registry/index/
|
||||
~/.cargo/registry/cache/
|
||||
~/.cargo/git/db/
|
||||
../target/
|
||||
~/cargo-target/
|
||||
key: "rust-check"
|
||||
#key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
|
||||
- uses: actions/checkout@v3
|
||||
|
@ -40,7 +40,7 @@ jobs:
|
|||
~/.cargo/registry/index/
|
||||
~/.cargo/registry/cache/
|
||||
~/.cargo/git/db/
|
||||
../target/
|
||||
~/cargo-target/
|
||||
key: "rust-build"
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build
|
||||
|
@ -57,7 +57,7 @@ jobs:
|
|||
~/.cargo/registry/index/
|
||||
~/.cargo/registry/cache/
|
||||
~/.cargo/git/db/
|
||||
../target/
|
||||
~/cargo-target/
|
||||
key: "rust-build"
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run unit tests
|
||||
|
|
Loading…
Reference in New Issue