mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
fix macos ci instability on clippy with retry
This commit is contained in:
parent
0ef06bd82d
commit
1c0adba1ca
1 changed files with 15 additions and 10 deletions
7
.github/workflows/code-quality.yml
vendored
7
.github/workflows/code-quality.yml
vendored
|
@ -117,8 +117,13 @@ jobs:
|
|||
macos-latest) brew install coreutils ;; # needed for show-utils.sh
|
||||
esac
|
||||
- name: "`cargo clippy` lint testing"
|
||||
uses: nick-fields/retry@v2
|
||||
with:
|
||||
max_attempts: 3
|
||||
retry_on: error
|
||||
timeout_minutes: 90
|
||||
shell: bash
|
||||
run: |
|
||||
command: |
|
||||
## `cargo clippy` lint testing
|
||||
unset fault
|
||||
CLIPPY_FLAGS="-W clippy::default_trait_access -W clippy::manual_string_new -W clippy::cognitive_complexity -W clippy::implicit_clone -W clippy::range-plus-one -W clippy::redundant-clone"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue