mirror of
https://github.com/coder/coder.git
synced 2026-09-21 12:44:32 +08:00
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:
@@ -57,7 +57,7 @@ jobs:
|
||||
- name: Lint Go
|
||||
uses: golangci/golangci-lint-action@v3.3.1
|
||||
with:
|
||||
version: v1.51.0
|
||||
version: v1.52.2
|
||||
|
||||
- name: Lint shell scripts
|
||||
uses: ludeeus/action-shellcheck@2.0.0
|
||||
|
||||
@@ -54,7 +54,6 @@ linters-settings:
|
||||
# - importShadow
|
||||
- indexAlloc
|
||||
- initClause
|
||||
- ioutilDeprecated
|
||||
- mapKey
|
||||
- methodExprCall
|
||||
# - nestingReduce
|
||||
|
||||
+1
-1
@@ -216,7 +216,7 @@ RUN systemctl enable \
|
||||
ARG CLOUD_SQL_PROXY_VERSION=2.2.0 \
|
||||
DIVE_VERSION=0.10.0 \
|
||||
DOCKER_GCR_VERSION=2.1.8 \
|
||||
GOLANGCI_LINT_VERSION=1.51.0 \
|
||||
GOLANGCI_LINT_VERSION=1.52.2 \
|
||||
GRYPE_VERSION=0.61.1 \
|
||||
HELM_VERSION=3.12.0 \
|
||||
KUBE_LINTER_VERSION=0.6.3 \
|
||||
|
||||
Reference in New Issue
Block a user