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] 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/...