mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: prioritize the v vet
task, so unformatted code fails faster
This commit is contained in:
parent
3c48a6e4ce
commit
988221d87b
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@ -66,15 +66,6 @@ jobs:
|
||||
tcc -version
|
||||
./v -cg -o v cmd/v # Make sure vtcc can build itself twice
|
||||
# ./v -silent test-compiler
|
||||
- name: Fixed tests
|
||||
run: ./v test-fixed
|
||||
- name: v self compilation
|
||||
run: ./v -o v2 cmd/v && ./v2 -o v3 cmd/v && ./v3 -o v4 cmd/v
|
||||
- name: Test building v tools
|
||||
run: ./v build-tools
|
||||
- name: v doctor
|
||||
run: |
|
||||
./v doctor
|
||||
- name: v vet
|
||||
run: |
|
||||
./v vet vlib/sqlite
|
||||
@ -90,6 +81,15 @@ jobs:
|
||||
./v fmt -verify vlib/v/gen/cgen.v
|
||||
./v fmt -verify vlib/v/gen/fn.v
|
||||
./v fmt -verify vlib/v/gen/x64/gen.v
|
||||
- name: Fixed tests
|
||||
run: ./v test-fixed
|
||||
- name: v self compilation
|
||||
run: ./v -o v2 cmd/v && ./v2 -o v3 cmd/v && ./v3 -o v4 cmd/v
|
||||
- name: Test building v tools
|
||||
run: ./v build-tools
|
||||
- name: v doctor
|
||||
run: |
|
||||
./v doctor
|
||||
# - name: Test v binaries
|
||||
# run: ./v -silent build-vbinaries
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user