mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
github action: enable clippy::cognitive_complexity
This commit is contained in:
parent
4ed58718a8
commit
6d24549156
1 changed files with 1 additions and 1 deletions
2
.github/workflows/CICD.yml
vendored
2
.github/workflows/CICD.yml
vendored
|
@ -231,7 +231,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
## `cargo clippy` lint testing
|
## `cargo clippy` lint testing
|
||||||
unset fault
|
unset fault
|
||||||
CLIPPY_FLAGS="-W clippy::default_trait_access -W clippy::manual_string_new"
|
CLIPPY_FLAGS="-W clippy::default_trait_access -W clippy::manual_string_new -W clippy::cognitive_complexity"
|
||||||
fault_type="${{ steps.vars.outputs.FAULT_TYPE }}"
|
fault_type="${{ steps.vars.outputs.FAULT_TYPE }}"
|
||||||
fault_prefix=$(echo "$fault_type" | tr '[:lower:]' '[:upper:]')
|
fault_prefix=$(echo "$fault_type" | tr '[:lower:]' '[:upper:]')
|
||||||
# * convert any warnings to GHA UI annotations; ref: <https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-a-warning-message>
|
# * convert any warnings to GHA UI annotations; ref: <https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-a-warning-message>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue