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

fix macos ci instability on clippy with retry

This commit is contained in:
Ulrich Hornung 2024-03-31 17:41:22 +02:00
parent 0ef06bd82d
commit 1c0adba1ca
No known key found for this signature in database
GPG key ID: 64EA3BAAF1BC0603

View file

@ -117,8 +117,13 @@ jobs:
macos-latest) brew install coreutils ;; # needed for show-utils.sh macos-latest) brew install coreutils ;; # needed for show-utils.sh
esac esac
- name: "`cargo clippy` lint testing" - name: "`cargo clippy` lint testing"
uses: nick-fields/retry@v2
with:
max_attempts: 3
retry_on: error
timeout_minutes: 90
shell: bash shell: bash
run: | command: |
## `cargo clippy` lint testing ## `cargo clippy` lint testing
unset fault 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" 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"