File tree Expand file tree Collapse file tree 2 files changed +4
-20
lines changed
Expand file tree Collapse file tree 2 files changed +4
-20
lines changed Original file line number Diff line number Diff line change 5050
5151 steps :
525253- with :
54- go-version : 1.15
555354+ - uses : golangci/golangci-lint-action@v2
55+ with :
56+ version : v1.43.0
5657
5758 - name : Go mod
5859 env :
6869 echo
6970 exit 1
7071 fi
71-
72- - run : make lint
Original file line number Diff line number Diff line change 11BINPATH := $(abspath ./bin)
2- GOLANGCI := $(BINPATH ) /golangci-lint
32
43.PHONY : all
5- all : build lint test
4+ all : build test
65
76#
87# Build Podsync CLI binary
@@ -20,20 +19,6 @@ docker:
2019 docker build -t $(TAG ) .
2120 docker push $(TAG )
2221
23- #
24- # Pull GolangCI-Lint dependency
25- #
26- $(GOLANGCI ) :
27- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(BINPATH ) v1.31.0
28- $(GOLANGCI ) --version
29-
30- #
31- # Run linter
32- #
33- .PHONY : lint
34- lint : $(GOLANGCI )
35- $(GOLANGCI ) run
36-
3722#
3823# Run unit tests
3924#
You can’t perform that action at this time.
0 commit comments