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 b43af6c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/analyzer_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,13 @@ jobs:
run: v .github/workflows/version_test.vv

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

0 comments on commit b43af6c

Please sign in to comment.