1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 12:07:46 +00:00

Merge pull request #6156 from cre4ture/fix/macos_ci_instability_on_clippy_with_retry

fix macos ci instability on clippy with retry
This commit is contained in:
Sylvestre Ledru 2024-04-01 01:41:23 +02:00 committed by GitHub
commit d30952ed84
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"