From 988221d87b140e8cce0ce8392f7ff1295dee7512 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Wed, 14 Oct 2020 20:04:41 +0300 Subject: [PATCH] ci: prioritize the `v vet` task, so unformatted code fails faster --- .github/workflows/ci.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b4352c451..04e0716a18 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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