mirror of https://github.com/coder/coder.git
chore: upgrade to golangci-lint 1.52.2 (#7674)
* Disable ioutilDeprecated lint Signed-off-by: Spike Curtis <spike@coder.com> * Upgrade to golangci-lint 1.52.2 Signed-off-by: Spike Curtis <spike@coder.com> --------- Signed-off-by: Spike Curtis <spike@coder.com>
This commit is contained in:
parent
14efdadd3c
commit
96a2e63809
|
@ -57,7 +57,7 @@ jobs:
|
||||||
- name: Lint Go
|
- name: Lint Go
|
||||||
uses: golangci/golangci-lint-action@v3.3.1
|
uses: golangci/golangci-lint-action@v3.3.1
|
||||||
with:
|
with:
|
||||||
version: v1.51.0
|
version: v1.52.2
|
||||||
|
|
||||||
- name: Lint shell scripts
|
- name: Lint shell scripts
|
||||||
uses: ludeeus/action-shellcheck@2.0.0
|
uses: ludeeus/action-shellcheck@2.0.0
|
||||||
|
|
|
@ -54,7 +54,6 @@ linters-settings:
|
||||||
# - importShadow
|
# - importShadow
|
||||||
- indexAlloc
|
- indexAlloc
|
||||||
- initClause
|
- initClause
|
||||||
- ioutilDeprecated
|
|
||||||
- mapKey
|
- mapKey
|
||||||
- methodExprCall
|
- methodExprCall
|
||||||
# - nestingReduce
|
# - nestingReduce
|
||||||
|
|
|
@ -216,7 +216,7 @@ RUN systemctl enable \
|
||||||
ARG CLOUD_SQL_PROXY_VERSION=2.2.0 \
|
ARG CLOUD_SQL_PROXY_VERSION=2.2.0 \
|
||||||
DIVE_VERSION=0.10.0 \
|
DIVE_VERSION=0.10.0 \
|
||||||
DOCKER_GCR_VERSION=2.1.8 \
|
DOCKER_GCR_VERSION=2.1.8 \
|
||||||
GOLANGCI_LINT_VERSION=1.51.0 \
|
GOLANGCI_LINT_VERSION=1.52.2 \
|
||||||
GRYPE_VERSION=0.61.1 \
|
GRYPE_VERSION=0.61.1 \
|
||||||
HELM_VERSION=3.12.0 \
|
HELM_VERSION=3.12.0 \
|
||||||
KUBE_LINTER_VERSION=0.6.3 \
|
KUBE_LINTER_VERSION=0.6.3 \
|
||||||
|
|
Loading…
Reference in New Issue