Skip to content

Commit accf9ce

Browse files
authored
Setup CI to run go vet (#7)
1 parent cca1f7e commit accf9ce

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.circleci/config.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Golang CircleCI 2.0 configuration file
2+
#
3+
# Check https://circleci.com/docs/2.0/language-go/ for more details
4+
version: 2
5+
jobs:
6+
build:
7+
docker:
8+
- image: circleci/golang:1.8
9+
10+
working_directory: /go/src/github.com/srt32/hkpg
11+
steps:
12+
- checkout
13+
- run: go get -t -d -v ./...
14+
- run: go build -v
15+
- run: go vet ./...
16+
- run: go test -v -race ./...

0 commit comments

Comments
 (0)