aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml4
-rw-r--r--.golangci.yml3
2 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e1fab0c..ed82c88 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -28,9 +28,9 @@ jobs:
run: go vet ./...
- name: Lint
- uses: golangci/golangci-lint-action@v6
+ uses: golangci/golangci-lint-action@v7
with:
- version: v1.64.6
+ version: v2.10.1
- name: Test
run: go test -v -race ./...
diff --git a/.golangci.yml b/.golangci.yml
index 6b0cd40..e8e8364 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -1,9 +1,12 @@
+version: "2"
run:
tests: true
timeout: 5m
linters:
disable-all: true
+ disable:
+ - errcheck
enable:
- staticcheck
- govet