Skip to content

Commit 13152f8

Browse files
Fix lint for actions.
1 parent c97cd86 commit 13152f8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/lint.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,15 @@ jobs:
2929
- name: Run clippy on crates/
3030
run: |
3131
find crates/ -type f -name "Cargo.toml" \
32-
-exec sh -c 'echo "Clippy for {}" && cargo clippy --manifest-path "{}"' \;
32+
-exec sh -c \
33+
'f="$1"; echo "Clippy for ${f}" && cargo clippy --manifest-path ${f}' shell {} \;
3334
env:
3435
RUSTFLAGS: -D warnings
3536
- name: Run clippy on examples/
3637
run: |
3738
find examples/ -type f -name "Cargo.toml" \
38-
-exec sh -c 'echo "Clippy for {}" && cargo clippy --manifest-path "{}"' \;
39+
-exec sh -c \
40+
'f="$1"; echo "Clippy for ${f}" && cargo clippy --manifest-path ${f}' shell {} \;
3941
env:
4042
RUSTFLAGS: -D warnings
4143

0 commit comments

Comments
 (0)