ci: fix non-failing windows test when it should fail (#526)
* chore: make `continuous-integration.yml` match `release.yml` workflow * fix: move `go vet` to separate step
This commit is contained in:
parent
2d27132938
commit
c758437a8a
|
@ -12,18 +12,25 @@ jobs:
|
|||
go-version: [1.16.x, 1.17.x]
|
||||
platform: [ubuntu-latest, macos-latest, windows-latest]
|
||||
runs-on: ${{ matrix.platform }}
|
||||
env:
|
||||
GO111MODULE: on
|
||||
steps:
|
||||
- name: Install Matrix Go
|
||||
-
|
||||
name: Checkout code
|
||||
uses: actions/checkout@v2.3.5
|
||||
|
||||
-
|
||||
name: Install Go
|
||||
uses: actions/setup-go@v2.1.4
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2.3.5
|
||||
|
||||
- name: Test code
|
||||
env:
|
||||
GO111MODULE: on
|
||||
-
|
||||
name: Test code
|
||||
run: |
|
||||
go test ./pkg/...
|
||||
|
||||
-
|
||||
name: Vet code
|
||||
run: |
|
||||
go vet ./pkg/...
|
||||
|
|
Loading…
Reference in New Issue