We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c83cd65 commit e9aa6f4Copy full SHA for e9aa6f4
3 files changed
.github/workflows/ci.yml
@@ -10,9 +10,13 @@ jobs:
10
build:
11
runs-on: ubuntu-latest
12
steps:
13
- - uses: actions/checkout@v2
14
- - uses: actions/setup-go@v2
+ - uses: actions/checkout@v4
+ - uses: actions/setup-go@v5
15
with:
16
- go-version: '^1.17.5'
+ go-version: '^1.24.2'
17
+ - name: golangci-lint
18
+ uses: golangci/golangci-lint-action@v7
19
+ with:
20
+ version: v2.0
21
- run: make test
22
.golangci.yml
@@ -2,6 +2,9 @@
2
version: '2'
3
linters:
4
default: standard
5
+ disable:
6
+ - errcheck
7
+ - unused
8
formatters:
9
enable:
- gofmt
Makefile
@@ -31,7 +31,7 @@ release: distclean dist
31
--target "${BUILD}" \
32
--generate-notes
33
34
-test: lint
+test:
35
@go test ${PACKAGES}
36
37
lint:
0 commit comments