.github: staticcheck-action → golangci-lint-action (#2238)

golangci-lint bundles many Go linters
(https://golangci-lint.run/docs/linters/). For now, we are going with its
default set of linters, which includes staticcheck, but with the
errcheck linter explicitly excluded because it generates a lot of lints;
I plan to address those and add errcheck in a subsequent contribution.
This commit is contained in:
Carlo Teubner authored and GitHub committed 2025-10-29 11:23:52 +11:00
1 parent e158c344d2
commit 49984bb606
2 files changed
+10 -3

No files matched your search

+3 -3
View File
@@ -39,10 +39,10 @@ jobs:
- name: Test
run: go test -v ./...
- uses: dominikh/staticcheck-action@v1.4.0
- name: golangci-lint
uses: golangci/golangci-lint-action@v8
with:
version: "2025.1.1"
install-go: false
version: v2.5.0
build:
runs-on: ubuntu-latest