Apply clippy changes

This commit is contained in:
QuantumEntangledAndy committed 2021-07-31 15:18:35 +07:00
1 parent 5e6f1eabfd
commit 0510d35910
10 files changed
+45 -35

No files matched your search

+8 -2
View File
@@ -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