diff --git a/.github/workflows/analyzer_tests.yml b/.github/workflows/analyzer_tests.yml index d15a24ca..525e4769 100644 --- a/.github/workflows/analyzer_tests.yml +++ b/.github/workflows/analyzer_tests.yml @@ -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 on internal errors + v fmt -verify . + exit 1 + fi