use latest staticcheck in lint target

This commit is contained in:
Shawn Smith
2022-03-22 12:05:51 +09:00
parent 57f6e73844
commit 45802c19ec

View File

@@ -16,7 +16,7 @@ vet:
go vet ./main.go
staticcheck:
@[ -x "$(shell which staticcheck)" ] || go install honnef.co/go/tools/cmd/staticcheck
@[ -x "$(shell which staticcheck)" ] || go install honnef.co/go/tools/cmd/staticcheck@master
staticcheck ./...
test: