mirror of
https://gitee.com/openharmony/third_party_rust_proc-macro2
synced 2025-02-21 15:32:10 +00:00
Run clippy linter in CI
This commit is contained in:
parent
3c856d2bd8
commit
217c60bc82
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@ -58,3 +58,16 @@ jobs:
|
||||
profile: minimal
|
||||
override: true
|
||||
- run: cargo test --target wasm32-unknown-unknown --no-run
|
||||
|
||||
clippy:
|
||||
name: Clippy
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
profile: minimal
|
||||
override: true
|
||||
components: clippy
|
||||
- run: cargo clippy -- -Dclippy::all
|
||||
|
Loading…
x
Reference in New Issue
Block a user