ci: enable vfmt check
parent
15ca64d81d
commit
3c90da6afa
|
@ -51,9 +51,9 @@ jobs:
|
|||
./v vet vlib/v/gen/cgen.v
|
||||
./v vet vlib/v/checker
|
||||
./v vet vlib/sqlite
|
||||
# - name: v fmt
|
||||
# run: |
|
||||
# ./v fmt -verify vlib/v/checker/checker.v
|
||||
- name: v fmt
|
||||
run: |
|
||||
./v fmt -verify vlib/v/checker/checker.v
|
||||
# - name: Test v binaries
|
||||
# run: ./v -silent build-vbinaries
|
||||
|
||||
|
|
|
@ -204,6 +204,7 @@ fn (foptions &FormatOptions) post_process_file(file, formatted_file_path string)
|
|||
}
|
||||
x := util.color_compare_files(diff_cmd, file, formatted_file_path)
|
||||
if x.len != 0 {
|
||||
println("$file is not vfmt'ed")
|
||||
exit(1)
|
||||
}
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue