Update rust.yml

This commit is contained in:
jb-alvarado 2022-05-13 10:15:12 +02:00 committed by GitHub
parent fb0a249c64
commit 8e9d114910
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,9 +12,10 @@ jobs:
- run: rustup update stable
- name: Cache cargo build
uses: actions/cache@v1
# with:
# path: target
with:
path: target
# key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
key: ubuntu-latest-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
- run: rustup component add rustfmt
- run: rustup component add clippy
- run: cargo build --all-features