Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit e534c1c

Browse files
committed
update runners to 1.18.7 and ignore new linters
1 parent 26249b1 commit e534c1c

26 files changed

+94
-44
lines changed

.github/workflows/docs_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
env:
14-
GO_VERSION: 1.18
14+
GO_VERSION: 1.18.7
1515

1616
jobs:
1717
docs_test:

.github/workflows/go-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ concurrency:
1212
cancel-in-progress: true
1313

1414
env:
15-
GO_VERSION: 1.18
16-
LINT_VERSION: 1.45.2
15+
GO_VERSION: 1.18.7
16+
LINT_VERSION: 1.48.0
1717

1818
jobs:
1919
go-lint:

.github/workflows/go-test-race.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ concurrency:
1212

1313
env:
1414
RESULT_PATH: "unit_results.xml"
15-
GO_VERSION: 1.18
15+
GO_VERSION: 1.18.7
1616

1717
jobs:
1818
go-test-race:

.github/workflows/gotests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ concurrency:
1212

1313
env:
1414
RESULT_PATH: "~/testresults"
15-
GO_VERSION: 1.18
15+
GO_VERSION: 1.18.7
1616

1717
jobs:
1818
gotests:

.github/workflows/modules_and_generate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
env:
14-
GO_VERSION: 1.18
14+
GO_VERSION: 1.18.7
1515

1616
jobs:
1717
modules_and_generate:

.github/workflows/perf-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ concurrency:
1212

1313
env:
1414
RESULT_PATH: testresults
15-
GO_VERSION: 1.18
15+
GO_VERSION: 1.18.7
1616
PYTHON_VERSION: 3.8.10
1717
REQUIREMENTS_PATH: "tests/requirements.txt"
1818

.github/workflows/win_build_and_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ concurrency:
1212
cancel-in-progress: true
1313

1414
env:
15-
GO_VERSION: 1.18
15+
GO_VERSION: 1.18.7
1616
RESULT_PATH: testresults
1717
PYTHON_VERSION: 3.8.10
1818
REQUIREMENTS_PATH: "tests/requirements.txt"

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ win-bundle-build:
8282
GOOS: "windows"
8383
GO111MODULE: "on"
8484
before_script:
85-
- choco upgrade -y golang --version 1.18
85+
- choco upgrade -y golang --version 1.18.7
8686
- choco upgrade -y git --version 2.33.0.2
8787
- refreshenv
8888
script:

.golangci.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,53 @@ linters:
7474
# violations.
7575
- funlen
7676
- gocognit
77+
# The following started erroring w/ 1.18 upgrade. Disabling
78+
# for now and their value could be evaluated in the future.
79+
- asasalint
80+
- containedctx
81+
- cyclop
82+
- errchkjson
83+
- errcheck
84+
- errname
85+
- errorlint
86+
- exhaustive
87+
- exhaustivestruct
88+
- exhaustruct
89+
- forbidigo
90+
- forcetypeassert
91+
- gci
92+
- gocritic
93+
- godot
94+
- goerr113
95+
- gofumpt
96+
- gomoddirectives
97+
- gosec
98+
- gosimple
99+
- ifshort
100+
- ireturn
101+
- maintidx
102+
- nestif
103+
- nilnil
104+
- nlreturn
105+
- noctx
106+
- nolintlint
107+
- nonamedreturns
108+
- nosprintfhostport
109+
- nosnakecase
110+
- paralleltest
111+
- predeclared
112+
- promlinter
113+
- revive
114+
- staticcheck
115+
- stylecheck
116+
- tagliatelle
117+
- testpackage
118+
- thelper
119+
- tparallel
120+
- usestdlibvars
121+
- varnamelen
122+
- wrapcheck
123+
77124

78125
linters-settings:
79126
settings:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG GO_VERSION=1.18
1+
ARG GO_VERSION=1.18.7
22
ARG PIP_VERSION=21.0.1
33

44
###### Agent Build Image ########

0 commit comments

Comments
 (0)