From 7cc0de1fccbf51e2ad9523833419dfd55ec82b49 Mon Sep 17 00:00:00 2001 From: Adam Chalkley Date: Mon, 27 May 2024 06:06:31 -0500 Subject: [PATCH] Update golangci-lint to v1.59.0 - Update Dockerfile ENV values - Update README tools version table refs GH-1544 --- README.md | 2 +- oldstable/combined/Dockerfile | 2 +- stable/combined/Dockerfile | 4 ++-- unstable/combined/Dockerfile | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c8963356..61f49f34 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ The following linting tools are included in the `go-ci-stable`, | Linter | Version | | --------------------------------------------------------------------- | --------------------- | | [`staticcheck`](https://github.com/dominikh/go-tools) | `2023.1.7` (`v0.4.7`) | -| [`golangci-lint`](https://github.com/golangci/golangci-lint) | `v1.58.2` | +| [`golangci-lint`](https://github.com/golangci/golangci-lint) | `v1.59.0` | | [`govulncheck`](https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck) | `v1.1.0` | | [`deadcode`](https://pkg.go.dev/golang.org/x/tools/cmd/deadcode) | `v0.19.0` | | [`orijtech/httperroryzer`](https://github.com/orijtech/httperroryzer) | `v0.0.1` | diff --git a/oldstable/combined/Dockerfile b/oldstable/combined/Dockerfile index da721617..0e68d66f 100644 --- a/oldstable/combined/Dockerfile +++ b/oldstable/combined/Dockerfile @@ -26,7 +26,7 @@ LABEL org.opencontainers.image.authors="Adam Chalkley (github.com/atc0005)" # https://github.com/atc0005/go-ci/issues/1188 ENV GOTOOLCHAIN="local" -ENV GOLANGCI_LINT_VERSION="v1.58.2" +ENV GOLANGCI_LINT_VERSION="v1.59.0" ENV STATICCHECK_VERSION="v0.4.7" ENV DEADCODE_VERSION="v0.19.0" ENV GOVULNCHECK_VERSION="v1.1.0" diff --git a/stable/combined/Dockerfile b/stable/combined/Dockerfile index b72f203e..ce5be33e 100644 --- a/stable/combined/Dockerfile +++ b/stable/combined/Dockerfile @@ -15,7 +15,7 @@ FROM amd64/golang:1.22.3-bookworm as builder # https://github.com/atc0005/go-ci/issues/1188 ENV GOTOOLCHAIN="local" -ENV GOLANGCI_LINT_VERSION="v1.58.2" +ENV GOLANGCI_LINT_VERSION="v1.59.0" ENV STATICCHECK_VERSION="v0.4.7" ENV DEADCODE_VERSION="v0.19.0" ENV GOVULNCHECK_VERSION="v1.1.0" @@ -126,7 +126,7 @@ LABEL org.opencontainers.image.authors="Adam Chalkley (github.com/atc0005)" # https://github.com/atc0005/go-ci/issues/1188 ENV GOTOOLCHAIN="local" -ENV GOLANGCI_LINT_VERSION="v1.58.2" +ENV GOLANGCI_LINT_VERSION="v1.59.0" ENV STATICCHECK_VERSION="v0.4.7" ENV DEADCODE_VERSION="v0.19.0" ENV GOVULNCHECK_VERSION="v1.1.0" diff --git a/unstable/combined/Dockerfile b/unstable/combined/Dockerfile index f10c9fb6..9987d8d1 100644 --- a/unstable/combined/Dockerfile +++ b/unstable/combined/Dockerfile @@ -18,7 +18,7 @@ ENV GOTOOLCHAIN="local" # A current dev branch build (mirrored to fork) is used for pre-release Go # versions, otherwise the latest upstream build of the tool is installed in # this image. -ENV GOLANGCI_LINT_VERSION="v1.58.2" +ENV GOLANGCI_LINT_VERSION="v1.59.0" # A current master branch build is used for pre-release Go versions, otherwise # the latest upstream build of the tool is installed in this image. @@ -135,7 +135,7 @@ ENV GOTOOLCHAIN="local" # A current dev branch build (mirrored to fork) is used for pre-release Go # versions, otherwise the latest upstream build of the tool is installed in # this image. -ENV GOLANGCI_LINT_VERSION="v1.58.2" +ENV GOLANGCI_LINT_VERSION="v1.59.0" # A current master branch build is used for pre-release Go versions, otherwise # the latest upstream build of the tool is installed in this image.