tools+lint: fix linter for Go 1.18
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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:
|
||||||
|
|||||||
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user