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]
|
go-version: [1.16.x, 1.17.x]
|
||||||
platform: [ubuntu-latest, macos-latest, windows-latest]
|
platform: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
|
env:
|
||||||
|
GO111MODULE: on
|
||||||
steps:
|
steps:
|
||||||
- name: Install Matrix Go
|
-
|
||||||
uses: actions/setup-go@v2.1.4
|
name: Checkout code
|
||||||
with:
|
uses: actions/checkout@v2.3.5
|
||||||
go-version: ${{ matrix.go-version }}
|
|
||||||
|
|
||||||
- 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: Test code
|
-
|
||||||
env:
|
name: Test code
|
||||||
GO111MODULE: on
|
run: |
|
||||||
run: |
|
go test ./pkg/...
|
||||||
go test ./pkg/...
|
|
||||||
go vet ./pkg/...
|
-
|
||||||
|
name: Vet code
|
||||||
|
run: |
|
||||||
|
go vet ./pkg/...
|
||||||
|
|
Loading…
Reference in New Issue