Skip to content

Commit 3adc3d1

Browse files
committed
Update config.yml.
1 parent 9d9fef2 commit 3adc3d1

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

.circleci/config.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,23 @@ version: 2
22
jobs:
33
build:
44
docker:
5-
- image: circleci/golang:1.9
5+
- image: circleci/golang:1.10
66
working_directory: /go/src/github.com/kentaro-m/md2confl
77
steps:
88
- checkout
99
- run:
1010
name: Install dependencies
1111
command: go get -v -t -d ./...
12+
- run:
13+
name: Run linters
14+
command: |
15+
go get github.com/golang/lint/golint
16+
golint ./...
17+
go vet ./...
18+
1219
deploy:
1320
docker:
14-
- image: circleci/golang:1.9
21+
- image: circleci/golang:1.10
1522
working_directory: /go/src/github.com/kentaro-m/md2confl
1623
steps:
1724
- checkout
@@ -23,7 +30,7 @@ jobs:
2330
go get github.com/mitchellh/gox
2431
go get github.com/tcnksm/ghr
2532
gox -output "pkg/{{.OS}}_{{.Arch}}_{{.Dir}}"
26-
ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace `git describe --tags` pkg/
33+
ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace `git describe --abbrev=0 --tags` pkg/
2734
2835
workflows:
2936
version: 2

0 commit comments

Comments
 (0)