Skip to content

Commit 06af23f

Browse files
committed
ci: simplify clippy step and add RUST_BACKTRACE (trigger rebuild)
1 parent d9c8cb4 commit 06af23f

1 file changed

Lines changed: 3 additions & 12 deletions

File tree

.github/workflows/ci-pr.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -224,19 +224,10 @@ jobs:
224224
with:
225225
components: clippy
226226

227-
- name: Clean target for fresh build
228-
run: cargo clean
229-
230227
- name: Clippy Check
231-
run: |
232-
cargo clippy --workspace --all-targets -- -D warnings 2>&1 | tee clippy_output.txt
233-
exit_code=${PIPESTATUS[0]}
234-
if [ $exit_code -ne 0 ]; then
235-
echo "=== CLIPPY ERRORS ==="
236-
grep -E "^error" clippy_output.txt || true
237-
echo "=== END CLIPPY ERRORS ==="
238-
fi
239-
exit $exit_code
228+
run: cargo clippy --workspace --all-targets -- -D warnings
229+
env:
230+
RUST_BACKTRACE: 1
240231

241232
# Quick Rust compilation check
242233
rust-compile:

0 commit comments

Comments
 (0)