Skip to content

Commit

Permalink
br/tools: use curl tool to download golangci-lint (pingcap#28803)
Browse files Browse the repository at this point in the history
  • Loading branch information
Defined2014 authored Oct 14, 2021
1 parent a53915d commit bd518d5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 585 deletions.
2 changes: 1 addition & 1 deletion br/tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ bin/revive:
go build -o $@ github.com/mgechev/revive

bin/golangci-lint:
go build -o $@ github.com/golangci/golangci-lint/cmd/golangci-lint
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b ./bin v1.41.1

bin/failpoint-ctl:
go build -o $@ github.com/pingcap/failpoint/failpoint-ctl
Expand Down
2 changes: 1 addition & 1 deletion br/tools/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ go 1.16
require (
github.com/dnephin/govet v0.0.0-20171012192244-4a96d43e39d3
github.com/gogo/protobuf v1.3.2
github.com/golangci/golangci-lint v1.33.0
github.com/mattn/goveralls v0.0.2
github.com/mgechev/revive v1.0.2
github.com/pborman/uuid v1.2.1 // indirect
github.com/pingcap/errors v0.11.5-0.20201126102027-b0a155152ca3
github.com/pingcap/failpoint v0.0.0-20200702092429-9f69995143ce
github.com/shurcooL/vfsgen v0.0.0-20181202132449-6a9ea43bcacd
Expand Down
Loading

0 comments on commit bd518d5

Please sign in to comment.