mirror of
https://github.com/imsnif/bandwhich.git
synced 2026-02-09 01:59:18 +08:00
Improve build.rs STDERR logging
- Remove `set +x` - Use GitHub Action's log grouping feature - See https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions
This commit is contained in:
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
@@ -37,14 +37,12 @@ jobs:
|
||||
- name: Show build.rs stderr
|
||||
shell: bash
|
||||
run: |
|
||||
set +x
|
||||
mapfile -d '' -t STDERR_FILES < <(find "./target/debug" -name stderr -print0 | grep -z bandwhich)
|
||||
for FILE in "${STDERR_FILES[@]}"; do
|
||||
echo "===== $FILE ===== "
|
||||
echo "::group::$FILE"
|
||||
cat "$FILE"
|
||||
echo "====="
|
||||
echo "::endgroup::"
|
||||
done
|
||||
set -x
|
||||
|
||||
- name: Run clippy
|
||||
run: cargo clippy --all-targets --all-features -- -D warnings
|
||||
|
||||
Reference in New Issue
Block a user