Add caching
Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
parent
a661f047a6
commit
7bd3610c5c
1 changed files with 10 additions and 0 deletions
|
|
@ -27,6 +27,16 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: https://github.com/dtolnay/rust-toolchain@1.88
|
uses: https://github.com/dtolnay/rust-toolchain@1.88
|
||||||
|
with:
|
||||||
|
components: clippy
|
||||||
|
- 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 clippy -- -D warnings
|
||||||
- run: cargo build --verbose
|
- run: cargo build --verbose
|
||||||
- run: cargo test --verbose
|
- run: cargo test --verbose
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue