blob: 747f03269d0dc410279c68ff89a6da02531ac851 [file] [log] [blame]
---
validate_config: 1
tasks:
ubuntu1804:
shell_commands:
- "echo +++ Check go format"
- "./check-gofmt.sh `find go -name '*.go'`"
- "echo +++ Check go vet"
- "go vet ./..."
build_targets:
- "//..."
test_targets:
- "//..."
# Check that "go build / test" works, too.
ubuntu1804_gobuild:
platform: ubuntu1804
name: "go build / test"
shell_commands:
- "echo +++ Running go build"
- "go build ./..."
- "echo +++ Running go test"
- "go test ./..."