File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -121,13 +121,13 @@ jobs:
121121 if [[ "${{ matrix.platform }}" == "windows-latest" ]]; then
122122 export AWS_LC_FIPS_SYS_NO_ASM=1
123123 fi
124+ EXTRA_CLIPPY_FLAG=$([ ${{ matrix.rust_version }} = 1.84.1 ] || echo -Aclippy::manual_is_multiple_of)
124125 if [[ -z "$CLIPPY_PACKAGES" ]]; then
125- cargo clippy --workspace --all-targets --all-features -- -D warnings $([ ${{ matrix.rust_version }} = 1.84.1 ] || echo -Aclippy::manual_is_multiple_of)
126-
126+ # shellcheck disable=SC2086
127+ cargo clippy --workspace --all-targets --all-features -- -D warnings $EXTRA_CLIPPY_FLAG
127128 else
128129 # shellcheck disable=SC2086
129- cargo clippy $CLIPPY_PACKAGES --all-targets --all-features -- -D warnings $([ ${{ matrix.rust_version }} = 1.84.1 ] || echo -Aclippy::manual_is_multiple_of)
130-
130+ cargo clippy $CLIPPY_PACKAGES --all-targets --all-features -- -D warnings $EXTRA_CLIPPY_FLAG
131131 fi
132132
133133 licensecheck :
You can’t perform that action at this time.
0 commit comments