diff --git a/.github/workflows/analyzer_tests.yml b/.github/workflows/analyzer_tests.yml index d15a24ca..49d9bd0c 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: | + v fmt -verify -diff . + # Don't fail on vfmts internal errors. + exit_code=$? + if [[ $exit_code -eq 0 || $exit_code -eq 5 ]]; then + exit 0 + else + exit 1 + fi