Update rust.yml
This commit is contained in:
parent
bd97312f81
commit
4691702d46
|
@ -22,7 +22,8 @@ jobs:
|
|||
~/.cargo/registry/cache/
|
||||
~/.cargo/git/db/
|
||||
target/
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
key: "rust"
|
||||
#key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
|
||||
- uses: actions/checkout@v3
|
||||
- name: Check
|
||||
run: cargo check
|
||||
|
@ -39,7 +40,7 @@ jobs:
|
|||
~/.cargo/registry/cache/
|
||||
~/.cargo/git/db/
|
||||
target/
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
key: "rust"
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build
|
||||
run: cargo build
|
||||
|
@ -56,7 +57,7 @@ jobs:
|
|||
~/.cargo/registry/cache/
|
||||
~/.cargo/git/db/
|
||||
target/
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
key: "rust"
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run unit tests
|
||||
run: cargo test
|
||||
|
|
Loading…
Reference in New Issue