Skip to content

Commit

Permalink
More debug
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 25, 2024
1 parent 977858e commit 7e8e876
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/clazy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7e8e876

Please sign in to comment.