File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 1+ name : ci
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ ci :
9+ name : CI
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+ - uses : actions/setup-go@v2
14+ with :
15+ go-version : ' ^1.15.2'
16+
17+ - name : Check Style
18+ run : make lint
19+
20+ - name : Tests
21+ run : make test
22+
23+ - name : Build
24+ run : make build
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_
8383
8484GOLANGCI_LINT :=
8585GOLANGCI_LINT_OPTS ?=
86- GOLANGCI_LINT_VERSION ?= v1.18 .0
86+ GOLANGCI_LINT_VERSION ?= v1.33 .0
8787# golangci-lint only supports linux, darwin and windows platforms on i386/amd64.
8888# windows isn't included here because of the path separator being different.
8989ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin))
You can’t perform that action at this time.
0 commit comments