language: go
sudo: false
go:
  - "1.14"
  - "1.15"

script:
  - FILES=`find . -iname '*.go' -type f -not -path "./vendor/*"`
  # linting
  - gofmt -d $FILES
  - env GO111MODULE=on go tool vet $FILES
  # testing
  - go generate
  - env GO111MODULE=on go test -v -race

language: go
sudo: false
go:
  - "1.14"
  - "1.15"

script:
  - FILES=`find . -iname '*.go' -type f -not -path "./vendor/*"`
  # linting
  - gofmt -d $FILES
  - env GO111MODULE=on go vet ./...
  # testing
  - go generate
  - env GO111MODULE=on go test -v -race

Fix CI: invoke go vet directly
Fix CI: invoke go vet directly

We're running on newer Go versions in CI now, so we need to invoke
go vet directly (with a list of packages) rather than running
go tool vet (with a list of files).
