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:
Ole-Martin Bratteng 2021-10-21 14:29:57 +02:00 committed by GitHub
parent 2d27132938
commit c758437a8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 12 deletions

View File

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