Apply clippy changes
This commit is contained in:
10 files changed
+45
-35
No files matched your search
@@ -17,10 +17,16 @@ jobs:
|
||||
toolchain: nightly
|
||||
components: clippy
|
||||
override: true
|
||||
- uses: actions-rs/clippy-check@v1
|
||||
- name: Run clippy action to produce annotations
|
||||
uses: actions-rs/clippy-check@v1
|
||||
if: steps.check_permissions.outputs.has-permission
|
||||
with:
|
||||
toolchain: nightly
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
args: --all-features
|
||||
args: --workspace --all-targets --all-features
|
||||
- name: Run clippy manually without annotations
|
||||
if: ${{ !steps.check_permissions.outputs.has-permission }}
|
||||
run: cargo +nightly clippy --workspace --all-targets --all-features
|
||||
|
||||
check_fmt:
|
||||
name: Rust-fmt
|
||||
|
||||
Reference in new issue
Block a user