From a5d15b64ac4f81bbee2ad78033d7cb601d60ad16 Mon Sep 17 00:00:00 2001 From: Adam Chalkley Date: Tue, 19 Jul 2022 05:34:20 -0500 Subject: [PATCH] Update golangci-lint from v1.46.2 to v1.47.0 - update Dockerfile ENV values - update README tools version table refs GH-675 --- README.md | 2 +- oldstable/Dockerfile | 2 +- stable/build/debian/Dockerfile | 2 +- stable/combined/Dockerfile | 2 +- stable/linting/Dockerfile | 4 ++-- unstable/Dockerfile | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a88701ce..4f6fdf73 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ others. | Linter | Version | | --------------------------------------------------------------------- | --------------------- | | [`staticcheck`](https://github.com/dominikh/go-tools) | `2022.1.2` (`v0.3.2`) | -| [`golangci-lint`](https://github.com/golangci/golangci-lint) | `v1.46.2` | +| [`golangci-lint`](https://github.com/golangci/golangci-lint) | `v1.47.0` | | [`orijtech/httperroryzer`](https://github.com/orijtech/httperroryzer) | `v0.0.1` | | [`orijtech/structslop`](https://github.com/orijtech/structslop) | `v0.0.6` | | [`pelletier/go-toml`](https://github.com/pelletier/go-toml) | `v2.0.1` | diff --git a/oldstable/Dockerfile b/oldstable/Dockerfile index 5d5834a3..d80cdaa9 100644 --- a/oldstable/Dockerfile +++ b/oldstable/Dockerfile @@ -20,7 +20,7 @@ LABEL org.opencontainers.image.description="Docker container image used to lint, Based on the latest version of the current outgoing stable golang image." LABEL org.opencontainers.image.authors="Adam Chalkley (github.com/atc0005)" -ENV GOLANGCI_LINT_VERSION="v1.46.2" +ENV GOLANGCI_LINT_VERSION="v1.47.0" ENV STATICCHECK_VERSION="v0.2.2" ENV HTTPERRORYZER_VERSION="v0.0.1" ENV STRUCTSLOP_VERSION="v0.0.6" diff --git a/stable/build/debian/Dockerfile b/stable/build/debian/Dockerfile index b8b9b970..d9fdfb1f 100644 --- a/stable/build/debian/Dockerfile +++ b/stable/build/debian/Dockerfile @@ -21,7 +21,7 @@ LABEL org.opencontainers.image.description="Docker container image used to lint, cgo-enabled builds via mingw." LABEL org.opencontainers.image.authors="Adam Chalkley (github.com/atc0005)" -ENV GOLANGCI_LINT_VERSION="v1.46.2" +ENV GOLANGCI_LINT_VERSION="v1.47.0" ENV STATICCHECK_VERSION="v0.3.2" ENV HTTPERRORYZER_VERSION="v0.0.1" ENV STRUCTSLOP_VERSION="v0.0.6" diff --git a/stable/combined/Dockerfile b/stable/combined/Dockerfile index 45d89a2d..9d274f88 100644 --- a/stable/combined/Dockerfile +++ b/stable/combined/Dockerfile @@ -20,7 +20,7 @@ LABEL org.opencontainers.image.description="Docker container image used to lint, Based on the latest version of the current stable golang image." LABEL org.opencontainers.image.authors="Adam Chalkley (github.com/atc0005)" -ENV GOLANGCI_LINT_VERSION="v1.46.2" +ENV GOLANGCI_LINT_VERSION="v1.47.0" ENV STATICCHECK_VERSION="v0.3.2" ENV HTTPERRORYZER_VERSION="v0.0.1" ENV STRUCTSLOP_VERSION="v0.0.6" diff --git a/stable/linting/Dockerfile b/stable/linting/Dockerfile index f9448588..5c5bc6af 100644 --- a/stable/linting/Dockerfile +++ b/stable/linting/Dockerfile @@ -14,7 +14,7 @@ # FROM golangci/golangci-lint:v1.45.0-alpine as builder FROM golang:1.18.4 as builder -ENV GOLANGCI_LINT_VERSION="v1.46.2" +ENV GOLANGCI_LINT_VERSION="v1.47.0" ENV STATICCHECK_VERSION="v0.3.2" # Skip go clean step as the entire image will be tossed after we are finished @@ -45,7 +45,7 @@ LABEL org.opencontainers.image.description="Docker image intended for lightweigh LABEL org.opencontainers.image.authors="Adam Chalkley (github.com/atc0005)" # Intended to help identify the versions of the included linting tools -ENV GOLANGCI_LINT_VERSION="v1.46.2" +ENV GOLANGCI_LINT_VERSION="v1.47.0" ENV STATICCHECK_VERSION="v0.3.2" COPY --from=builder /go/bin/golangci-lint /usr/bin/golangci-lint diff --git a/unstable/Dockerfile b/unstable/Dockerfile index 8f3cb071..8b8c460b 100644 --- a/unstable/Dockerfile +++ b/unstable/Dockerfile @@ -9,7 +9,7 @@ FROM golang:1.19rc2 as builder -ENV GOLANGCI_LINT_VERSION="v1.46.2" +ENV GOLANGCI_LINT_VERSION="v1.47.0" ENV STATICCHECK_VERSION="v0.3.2" ENV HTTPERRORYZER_VERSION="v0.0.1" ENV STRUCTSLOP_VERSION="v0.0.6" @@ -46,7 +46,7 @@ LABEL org.opencontainers.image.description="Docker container image used to lint, golang:rc image or if not recently available, the latest stable golang image." LABEL org.opencontainers.image.authors="Adam Chalkley (github.com/atc0005)" -ENV GOLANGCI_LINT_VERSION="v1.46.2" +ENV GOLANGCI_LINT_VERSION="v1.47.0" ENV STATICCHECK_VERSION="v0.3.2" ENV HTTPERRORYZER_VERSION="v0.0.1" ENV STRUCTSLOP_VERSION="v0.0.6"