Skip to content

Commit e9aa6f4

Browse files
committed
fix ci
1 parent c83cd65 commit e9aa6f4

3 files changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
14-
- uses: actions/setup-go@v2
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-go@v5
1515
with:
16-
go-version: '^1.17.5'
16+
go-version: '^1.24.2'
17+
- name: golangci-lint
18+
uses: golangci/golangci-lint-action@v7
19+
with:
20+
version: v2.0
1721
- run: make test
1822

.golangci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
version: '2'
33
linters:
44
default: standard
5+
disable:
6+
- errcheck
7+
- unused
58
formatters:
69
enable:
710
- gofmt

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ release: distclean dist
3131
--target "${BUILD}" \
3232
--generate-notes
3333

34-
test: lint
34+
test:
3535
@go test ${PACKAGES}
3636

3737
lint:

0 commit comments

Comments
 (0)