From 7e8e876afbe9e0f6acac3d0f71026364b2313b1d Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Tue, 26 Nov 2024 08:08:14 +1000 Subject: [PATCH] More debug --- .github/workflows/clazy.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/clazy.yml b/.github/workflows/clazy.yml index 5b09aa8..20ec311 100644 --- a/.github/workflows/clazy.yml +++ b/.github/workflows/clazy.yml @@ -61,6 +61,11 @@ jobs: install-stable: true database: build + - name: Dump results + run: | + echo "Warnings count: ${{ steps.clazy.outputs.warnings-count }}" + echo "Errors count: ${{ steps.clazy.outputs.errors-count }}" + - name: Fail if warnings or errors exist - if: steps.clazy.outputs.warnings-count > 0 || steps.clazy.outputs.errors-count > 0 + if: ${{ toNumber(steps.clazy.outputs.warnings-count) > 0 || toNumber(steps.clazy.outputs.errors-count) > 0 }} run: exit 1