Skip to content

Commit

Permalink
ci: work around internal vfmt errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Mar 30, 2024
1 parent e6ef347 commit d5c2dda
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/analyzer_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,12 @@ jobs:
run: v .github/workflows/version_test.vv

- name: Verify formatting
run: v fmt -verify -diff .
run: |
set +e
v fmt -c .
exit_code=$?
if [[ $exit_code -ne 0 && $exit_code -ne 5 ]]; then
# Don't fail on internal errors.
v fmt -diff .
exit 1
fi

0 comments on commit d5c2dda

Please sign in to comment.