Skip to content

Commit 43d2600

Browse files
authored
Libs(Go): adjust Go linter (#1351)
Stops using superlinter, relying solely on golangci-lint. N.b. superlinter was tuned by default to use a much more exhaustive golangci-lint configuration. Still, we should not be invoking golangci-lint from two separate workflows with two different configurations.
2 parents 4d29167 + 6796a5c commit 43d2600

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/go-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v4
1212
- name: golangci-lint
13-
uses: golangci/golangci-lint-action@v2
13+
uses: golangci/golangci-lint-action@v6
1414
with:
1515
version: latest
1616
working-directory: go
17-
17+
args: --verbose

.github/workflows/other-lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
VALIDATE_PYTHON_MYPY: false
4141
VALIDATE_PYTHON_PYLINT: false
4242
VALIDATE_GO: false
43+
VALIDATE_GO_MODULE: false
4344
VALIDATE_JSCPD: false
4445
VALIDATE_PHP_PHPSTAN: false
4546
VALIDATE_PHP_PSALM: false

0 commit comments

Comments
 (0)