Add caching
Some checks failed
Cargo Build & Test / hem - Build & Test (pull_request) Failing after 1m33s
Some checks failed
Cargo Build & Test / hem - Build & Test (pull_request) Failing after 1m33s
Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
parent
1da57177df
commit
0f7649deb8
1 changed files with 8 additions and 0 deletions
|
|
@ -25,6 +25,14 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- name: Install Rust
|
||||
uses: https://github.com/dtolnay/rust-toolchain@1.88
|
||||
- name: ⚡ Cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
- run: cargo clippy -- -D warnings
|
||||
- run: cargo build --verbose -D warn
|
||||
- run: cargo test --verbose
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue