bump golangci-lint to v2.0.2 and update all lint issues (#4116)

Signed-off-by: Avi Deitcher <avi@deitcher.net>
This commit is contained in:
Avi Deitcher
2025-04-09 17:53:20 +03:00
committed by GitHub
parent ec70c1246f
commit 7a129b6e8d
52 changed files with 429 additions and 390 deletions

View File

@@ -17,7 +17,7 @@ RUN [ $(uname -m) = aarch64 ] && apk add --no-cache --initdb -p /out gcc || true
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
# installing golangci-lint
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /out/go/bin v1.50.1
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /out/go/bin v2.0.2
FROM scratch