mirror of
https://github.com/uutils/coreutils
synced 2024-07-22 18:34:12 +00:00
github action: enable clippy::cognitive_complexity
This commit is contained in:
parent
4ed58718a8
commit
6d24549156
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…
Reference in a new issue