Skip to content

Commit

Permalink
Merge pull request #623 from atc0005/i621-update-golangci-lint-to-v1.…
Browse files Browse the repository at this point in the history
…46.0

Update golangci-lint from v1.45.2 to v1.46.0
  • Loading branch information
atc0005 committed May 10, 2022
2 parents 7a27255 + 9090537 commit 17793cb
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ others.
| --------------------------------------------------------------------- | -------------------------------------------------------- |
| [`staticcheck`](https://github.com/dominikh/go-tools) | `2022.1.1` (`v0.3.1`) for `unstable` and `stable` images |
| [`staticcheck`](https://github.com/dominikh/go-tools) | `2021.1.2` (`v0.2.2`) for `oldstable` image |
| [`golangci-lint`](https://github.com/golangci/golangci-lint) | `v1.45.2` |
| [`golangci-lint`](https://github.com/golangci/golangci-lint) | `v1.46.0` |
| [`orijtech/httperroryzer`](https://github.com/orijtech/httperroryzer) | `v0.0.1` |
| [`orijtech/structslop`](https://github.com/orijtech/structslop) | `v0.0.6` |
| [`pelletier/go-toml/cmd/tomll`](https://github.com/pelletier/go-toml) | `v1.9.5` |
Expand Down
2 changes: 1 addition & 1 deletion oldstable/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.45.2"
ENV GOLANGCI_LINT_VERSION="v1.46.0"
ENV STATICCHECK_VERSION="v0.2.2"
ENV HTTPERRORYZER_VERSION="v0.0.1"
ENV STRUCTSLOP_VERSION="v0.0.6"
Expand Down
2 changes: 1 addition & 1 deletion stable/build/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.45.2"
ENV GOLANGCI_LINT_VERSION="v1.46.0"
ENV STATICCHECK_VERSION="v0.3.1"
ENV HTTPERRORYZER_VERSION="v0.0.1"
ENV STRUCTSLOP_VERSION="v0.0.6"
Expand Down
2 changes: 1 addition & 1 deletion stable/combined/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.45.2"
ENV GOLANGCI_LINT_VERSION="v1.46.0"
ENV STATICCHECK_VERSION="v0.3.1"
ENV HTTPERRORYZER_VERSION="v0.0.1"
ENV STRUCTSLOP_VERSION="v0.0.6"
Expand Down
4 changes: 2 additions & 2 deletions stable/linting/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# FROM golangci/golangci-lint:v1.45.0-alpine as builder
FROM golang:1.17.9 as builder

ENV GOLANGCI_LINT_VERSION="v1.45.2"
ENV GOLANGCI_LINT_VERSION="v1.46.0"
ENV STATICCHECK_VERSION="v0.3.1"

# Skip go clean step as the entire image will be tossed after we are finished
Expand Down Expand Up @@ -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.45.2"
ENV GOLANGCI_LINT_VERSION="v1.46.0"
ENV STATICCHECK_VERSION="v0.3.1"

COPY --from=builder /go/bin/golangci-lint /usr/bin/golangci-lint
Expand Down
4 changes: 2 additions & 2 deletions unstable/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

FROM golang:1.18.1 as builder

ENV GOLANGCI_LINT_VERSION="v1.45.2"
ENV GOLANGCI_LINT_VERSION="v1.46.0"
ENV STATICCHECK_VERSION="v0.3.1"
ENV HTTPERRORYZER_VERSION="v0.0.1"
ENV STRUCTSLOP_VERSION="v0.0.6"
Expand Down Expand Up @@ -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.45.2"
ENV GOLANGCI_LINT_VERSION="v1.46.0"
ENV STATICCHECK_VERSION="v0.3.1"
ENV HTTPERRORYZER_VERSION="v0.0.1"
ENV STRUCTSLOP_VERSION="v0.0.6"
Expand Down

0 comments on commit 17793cb

Please sign in to comment.