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
|
-
|
||||||
|
name: Checkout code
|
||||||
|
uses: actions/checkout@v2.3.5
|
||||||
|
|
||||||
|
-
|
||||||
|
name: Install Go
|
||||||
uses: actions/setup-go@v2.1.4
|
uses: actions/setup-go@v2.1.4
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go-version }}
|
go-version: ${{ matrix.go-version }}
|
||||||
|
|
||||||
- name: Checkout code
|
-
|
||||||
uses: actions/checkout@v2.3.5
|
name: Test code
|
||||||
|
|
||||||
- name: Test code
|
|
||||||
env:
|
|
||||||
GO111MODULE: on
|
|
||||||
run: |
|
run: |
|
||||||
go test ./pkg/...
|
go test ./pkg/...
|
||||||
|
|
||||||
|
-
|
||||||
|
name: Vet code
|
||||||
|
run: |
|
||||||
go vet ./pkg/...
|
go vet ./pkg/...
|
||||||
|
|
Loading…
Reference in New Issue