tools+lint: fix linter for Go 1.18

This commit is contained in:
Oliver Gugger 2022-04-27 22:20:30 +02:00
parent be704b09b2
commit dfac94bf9b
No known key found for this signature in database
GPG Key ID: 8E4256593F177720
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ linters-settings:
- G402 # Look for bad TLS connection settings. - G402 # Look for bad TLS connection settings.
- G306 # Poor file permissions used when writing to a new file. - G306 # Poor file permissions used when writing to a new file.
staticcheck: staticcheck:
go: "1.16" go: "1.18"
checks: ["-SA1019"] checks: ["-SA1019"]
linters: linters:

View File

@ -1,4 +1,4 @@
FROM golang:1.17.3-buster FROM golang:1.18.0-buster
RUN apt-get update && apt-get install -y git RUN apt-get update && apt-get install -y git
ENV GOCACHE=/tmp/build/.cache ENV GOCACHE=/tmp/build/.cache