tools+lint: fix linter for Go 1.18

This commit is contained in:
Oliver Gugger committed 2022-04-29 09:34:14 +02:00
1 parent be704b09b2
commit dfac94bf9b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ linters-settings:
- G402 # Look for bad TLS connection settings.
- G306 # Poor file permissions used when writing to a new file.
staticcheck:
go: "1.16"
go: "1.18"
checks: ["-SA1019"]
linters:
+1 -1
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
ENV GOCACHE=/tmp/build/.cache