minor updates to rust workflow
This commit is contained in:
@@ -8,6 +8,9 @@ jobs:
|
|||||||
runs-on: alpine
|
runs-on: alpine
|
||||||
container: node:20-alpine
|
container: node:20-alpine
|
||||||
|
|
||||||
|
env:
|
||||||
|
CARGO_INCREMENTAL: 0
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -53,7 +56,7 @@ jobs:
|
|||||||
if [ -n "$(find . -name "Cargo.toml" -print -quit)" ]; then
|
if [ -n "$(find . -name "Cargo.toml" -print -quit)" ]; then
|
||||||
status=0
|
status=0
|
||||||
for manifest in $(find . -name "Cargo.toml"); do
|
for manifest in $(find . -name "Cargo.toml"); do
|
||||||
cargo clippy --manifest-path "$manifest" -- -D warnings && \
|
cargo clippy --manifest-path "$manifest" --all-targets --all-features -- -D warnings && \
|
||||||
echo "$manifest: Clippy passed" || \
|
echo "$manifest: Clippy passed" || \
|
||||||
{ echo "$manifest: Clippy failed"; status=1; }
|
{ echo "$manifest: Clippy failed"; status=1; }
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user