The program now exits with a non-zero code when errors are encountered while reading and/or writing files. This now also introduces Go Modules for dependency management
14 lines
211 B
YAML
14 lines
211 B
YAML
dist: bionic
|
|
git:
|
|
depth: 3
|
|
language: go
|
|
go:
|
|
- 1.13.x
|
|
before_script:
|
|
- go get golang.org/x/lint/golint
|
|
script:
|
|
- go mod tidy
|
|
- gofmt -d -e -l -s .
|
|
- golint -set_exit_status ./...
|
|
- go test -v ./...
|