Update rust.yml

This commit is contained in:
jb-alvarado 2022-06-01 21:13:25 +02:00 committed by GitHub
parent 79faf94a22
commit e1e8658bad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,11 +13,7 @@ jobs:
- run: rustup component add clippy
- name: cargo build
uses: actions/checkout@v3
# with:
# path: target
# key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
# key: ubuntu-latest-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
- run: cargo build --all-features
- run: cargo test --all-features
- run: cargo fmt --all -- --check
- run: cargo clippy --all-features --all-targets -- --deny warnings
- run: cargo build --all-features