Skip to content

Do not call t.Errorf out of the test goroutine. #101

Do not call t.Errorf out of the test goroutine.

Do not call t.Errorf out of the test goroutine. #101

Workflow file for this run

name: Go
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go stable version
uses: actions/setup-go@v4
with:
go-version: 'stable'
cache: false
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Build
run: |
go generate ./bus/...
go generate ./meta/...
go generate ./type/...
go generate ./examples/...
go build ./...
- name: Test
run: |
go vet -composites=false ./...
go test ./... -race