Merge pull request #244 from shiftstack/windows_go_version

Windows go version
This commit is contained in:
Kubernetes Prow Robot 2021-11-15 05:42:48 -08:00 committed by GitHub
commit da422f94fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 4 deletions

View File

@ -15,4 +15,6 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Run unit tests
run: go test -v -race ./pkg/...
run: |
go version
go test -v -race ./pkg/...

View File

@ -21,6 +21,7 @@ jobs:
- name: Build Test
run: |
go version
export PATH=$PATH:$HOME/.local/bin
make verify
go test -covermode=count -coverprofile=profile.cov ./pkg/...

View File

@ -6,16 +6,17 @@ jobs:
build:
strategy:
matrix:
go-versions: [1.16.x]
go: [ '^1.16' ]
platform: [windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v1
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
go-version: ${{ matrix.go }}
- name: Checkout code
uses: actions/checkout@v2
- name: Run Windows Unit Tests
run: |
go version
go test -v -race ./pkg/...