[lbry] ci: use golangci.yml instead individual args
This commit is contained in:
parent
edfffd979d
commit
fa9239e0c5
1 changed files with 3 additions and 7 deletions
10
goclean.sh
10
goclean.sh
|
@ -9,12 +9,8 @@
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
# Automatic checks
|
||||||
|
golangci-lint run
|
||||||
|
|
||||||
env GORACE="halt_on_error=1" go test -race -tags="rpctest" -covermode atomic -coverprofile=profile.cov ./...
|
env GORACE="halt_on_error=1" go test -race -tags="rpctest" -covermode atomic -coverprofile=profile.cov ./...
|
||||||
go test -bench=. -benchtime=4000x ./claimtrie/
|
go test -bench=. -benchtime=4000x ./claimtrie/
|
||||||
|
|
||||||
# Automatic checks
|
|
||||||
golangci-lint run --deadline=10m --disable-all \
|
|
||||||
--enable=gofmt \
|
|
||||||
--enable=vet \
|
|
||||||
--enable=gosimple \
|
|
||||||
--enable=unconvert
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue