actions: Print go version

In order to rapidly debug test issues, issue `go version` prior to
running any test.
This commit is contained in:
Pierre Prinetti 2021-11-15 13:23:34 +01:00
parent 0623e9e6e9
commit 339d4d25ae
No known key found for this signature in database
GPG Key ID: F8360C8220AA1958
3 changed files with 5 additions and 1 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

@ -18,4 +18,5 @@ jobs:
uses: actions/checkout@v2
- name: Run Windows Unit Tests
run: |
go version
go test -v -race ./pkg/...