Pierre Prinetti 339d4d25ae
actions: Print go version
In order to rapidly debug test issues, issue `go version` prior to
running any test.
2021-11-15 14:01:28 +01:00

21 lines
415 B
YAML

name: Darwin
on:
pull_request: {}
push: {}
jobs:
build:
name: Unit Tests
runs-on: macos-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.16
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Run unit tests
run: |
go version
go test -v -race ./pkg/...