Skip to content

Commit

Permalink
Added gofmt and golint check in the CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
parauliya committed May 21, 2020
1 parent 9abc1ad commit ae3b6ca
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ pipeline:
- apk add --update make
- make

fmt_lint_check:
group: ci
image: golang:1.13-alpine3.11
commands:
- apk add --update make
- make verify

publish_pr_tink-cli:
<<: *publish_pr_tmpl
context: cmd/tink-cli
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,8 @@ run: ${binaries}
test:
go clean -testcache
go test ./test -v

verify:
./hack/verify-gofmt.sh
./hack/verify-golint.sh
./hack/verify-govet.sh

0 comments on commit ae3b6ca

Please sign in to comment.