Add staticchecks to bazel builds (#13298)

* Update staticcheck to latest

* Add static checks while ignoring for third party / external stuff

* Added a hack to keep go mod happy.

* disable SA2002

* Pin go mod tidy checker image to golang:1.20-alpine
This commit is contained in:
Preston Van Loon
2023-12-07 23:42:55 -06:00
committed by GitHub
parent cee38660c7
commit f537a98fcd
13 changed files with 455 additions and 69 deletions

View File

@@ -1,4 +1,4 @@
FROM golang:alpine
FROM golang:1.20-alpine
COPY entrypoint.sh /entrypoint.sh