mirror of
https://github.com/stefan01/transocks.git
synced 2025-02-22 11:40:54 +07:00
20 lines
394 B
YAML
20 lines
394 B
YAML
|
version: 2
|
||
|
jobs:
|
||
|
build:
|
||
|
docker:
|
||
|
- image: quay.io/cybozu/golang:1.11-bionic
|
||
|
working_directory: /work
|
||
|
steps:
|
||
|
- checkout
|
||
|
- run: test -z "$(gofmt -s -l . | grep -v '^vendor' | tee /dev/stderr)"
|
||
|
- run: golint -set_exit_status .
|
||
|
- run: go build ./...
|
||
|
- run: go test -race -v ./...
|
||
|
- run: go vet ./...
|
||
|
|
||
|
workflows:
|
||
|
version: 2
|
||
|
main:
|
||
|
jobs:
|
||
|
- build
|