mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-04-30 07:07:58 +00:00
Add a clippy job to the CI (#163)
* Add clippy CI check * Fix remaining clippy lints * Cargo fmt
This commit is contained in:
committed by
GitHub
parent
b8e6b9e319
commit
72626a566a
@@ -29,6 +29,25 @@ jobs:
|
||||
command: fmt
|
||||
args: --all -- --check
|
||||
|
||||
clippy:
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- name: Install Rust toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
components: clippy
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Cargo clippy
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
command: clippy
|
||||
args: --all-targets --all-features -- -D warnings
|
||||
|
||||
test:
|
||||
strategy:
|
||||
matrix:
|
||||
|
||||
Reference in New Issue
Block a user