Merge pull request #244 from shiftstack/windows_go_version
Windows go version
This commit is contained in:
commit
da422f94fe
4
.github/workflows/darwin.yaml
vendored
4
.github/workflows/darwin.yaml
vendored
@ -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/...
|
||||
|
||||
1
.github/workflows/linux.yaml
vendored
1
.github/workflows/linux.yaml
vendored
@ -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/...
|
||||
|
||||
7
.github/workflows/windows.yaml
vendored
7
.github/workflows/windows.yaml
vendored
@ -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/...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user