build: upgrade staticcheck to latest version (#224)

This commit is contained in:
Daniel Moran
2021-08-04 14:54:53 -04:00
committed by GitHub
parent d615694ee9
commit 10c17ec661
3 changed files with 4 additions and 8 deletions

View File

@ -40,12 +40,8 @@ bin/$(GOOS)/influx: $(SOURCES)
.DEFAULT_GOAL := influx
influx: bin/$(GOOS)/influx
vendor: go.mod go.sum
go mod vendor
clean:
$(RM) -r bin
$(RM) -r vendor
### Linters
checkfmt:
@ -57,7 +53,7 @@ checktidy:
checkopenapi:
./etc/checkopenapi.sh
staticcheck: $(SOURCES) vendor
staticcheck: $(SOURCES)
go run honnef.co/go/tools/cmd/staticcheck -go $(GOVERSION) ./...
vet: