From 9f36301dc87df14d968dea25dd835f0ff33fdb79 Mon Sep 17 00:00:00 2001 From: Starlight220 <53231611+Starlight220@users.noreply.github.com> Date: Tue, 25 Oct 2022 22:30:43 +0300 Subject: [PATCH] [ci] Write wpiformat patch to job summary (#4519) --- .github/workflows/lint-format.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/lint-format.yml b/.github/workflows/lint-format.yml index 45fc24e1e6..044877f437 100644 --- a/.github/workflows/lint-format.yml +++ b/.github/workflows/lint-format.yml @@ -46,6 +46,14 @@ jobs: name: wpiformat fixes path: wpiformat-fixes.patch if: ${{ failure() }} + - name: Write to job summary + run: | + echo '```diff' >> $GITHUB_STEP_SUMMARY + cat wpiformat-fixes.patch >> $GITHUB_STEP_SUMMARY + echo '' >> $GITHUB_STEP_SUMMARY + echo '```' >> $GITHUB_STEP_SUMMARY + if: ${{ failure() }} + tidy: name: "clang-tidy" runs-on: ubuntu-latest