summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorcyqsimon <28627918+cyqsimon@users.noreply.github.com>2023-08-27 00:03:23 +0800
committercyqsimon <28627918+cyqsimon@users.noreply.github.com>2023-08-30 11:09:29 +0800
commit9c11b59c55ad6933d7f0abf2893e73b98b2a7c10 (patch)
tree8aa2905e5fe0865f9cc74259adb0a2c0803e1eed /.github
parente57bb529813e20c93c086db17bb6b318ebc74fcd (diff)
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
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yaml6
1 files changed, 2 insertions, 4 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 856aafc..584973f 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -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