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
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Run unit tests
|
- 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
|
- name: Build Test
|
||||||
run: |
|
run: |
|
||||||
|
go version
|
||||||
export PATH=$PATH:$HOME/.local/bin
|
export PATH=$PATH:$HOME/.local/bin
|
||||||
make verify
|
make verify
|
||||||
go test -covermode=count -coverprofile=profile.cov ./pkg/...
|
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:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-versions: [1.16.x]
|
go: [ '^1.16' ]
|
||||||
platform: [windows-latest]
|
platform: [windows-latest]
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@v1
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go-version }}
|
go-version: ${{ matrix.go }}
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Run Windows Unit Tests
|
- name: Run Windows Unit Tests
|
||||||
run: |
|
run: |
|
||||||
|
go version
|
||||||
go test -v -race ./pkg/...
|
go test -v -race ./pkg/...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user