Skip to content

Commit 9399071

Browse files
actions: Print go version
In order to rapidly debug test issues, issue `go version` prior to running any test.
1 parent a670bd6 commit 9399071

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/darwin.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ jobs:
1515
- name: Check out code into the Go module directory
1616
uses: actions/checkout@v2
1717
- name: Run unit tests
18-
run: go test -v -race ./pkg/...
18+
run: |
19+
go version
20+
go test -v -race ./pkg/...

.github/workflows/linux.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121

2222
- name: Build Test
2323
run: |
24+
go version
2425
export PATH=$PATH:$HOME/.local/bin
2526
make verify
2627
go test -covermode=count -coverprofile=profile.cov ./pkg/...

.github/workflows/windows.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ jobs:
1818
uses: actions/checkout@v2
1919
- name: Run Windows Unit Tests
2020
run: |
21+
go version
2122
go test -v -race ./pkg/...

0 commit comments

Comments
 (0)