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 8d70c94
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 .
run: |
set +e
v fmt -c .
exit_code="$?"
if [[ $exit_code -ne 0 && $exit_code -ne 5 ]]; then
# Don't fail on on internal errors
v fmt -verify .
exit 1
fi
echo "Exit code: $exit_code"

0 comments on commit 8d70c94

Please sign in to comment.