Skip to content

Commit 4c54052

Browse files
committed
feat(ci): bump golangci-lint
1 parent dd7139c commit 4c54052

File tree

4 files changed

+16
-19
lines changed

4 files changed

+16
-19
lines changed

.github/workflows/nightly-release.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ jobs:
2929
steps:
3030
- name: Checkout repository
3131
uses: actions/checkout@v4
32-
- name: Setup Golang with cache
33-
uses: magnetikonline/action-golang-cache@v5
32+
- name: Setup Go
33+
uses: actions/setup-go@v6
3434
with:
3535
go-version-file: go.mod
3636
- name: Lint
37-
uses: golangci/golangci-lint-action@v8
37+
uses: golangci/golangci-lint-action@v9
3838
with:
3939
install-mode: goinstall
40-
version: v2.4.0
40+
version: v2.6.1
4141
- name: Test
4242
run: go test ./...
4343
build-docker:
@@ -48,7 +48,7 @@ jobs:
4848
steps:
4949
- name: Checkout repository
5050
uses: actions/checkout@v4
51-
- name: Set up Docker Buildx
51+
- name: Setup Docker Buildx
5252
uses: docker/setup-buildx-action@v1
5353
with:
5454
install: true

.github/workflows/release.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010
steps:
1111
- name: Checkout repository
1212
uses: actions/checkout@v4
13-
- name: Setup Golang with cache
14-
uses: magnetikonline/action-golang-cache@v5
13+
- name: Setup Go
14+
uses: actions/setup-go@v6
1515
with:
1616
go-version-file: go.mod
1717
- name: Lint
18-
uses: golangci/golangci-lint-action@v8
18+
uses: golangci/golangci-lint-action@v9
1919
with:
2020
install-mode: goinstall
21-
version: v2.4.0
21+
version: v2.6.1
2222
- name: Test
2323
run: go test ./...
2424
release-please:
@@ -57,8 +57,8 @@ jobs:
5757
steps:
5858
- name: Checkout repository
5959
uses: actions/checkout@v4
60-
- name: Setup Golang with cache
61-
uses: magnetikonline/action-golang-cache@v5
60+
- name: Setup Go
61+
uses: actions/setup-go@v6
6262
with:
6363
go-version-file: go.mod
6464
- name: Build
@@ -86,7 +86,7 @@ jobs:
8686
steps:
8787
- name: Checkout
8888
uses: actions/checkout@v4
89-
- name: Set up Docker Buildx
89+
- name: Setup Docker Buildx
9090
uses: docker/setup-buildx-action@v1
9191
- name: Login into DockerHub
9292
run: echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin

.github/workflows/test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ jobs:
1111
steps:
1212
- name: Checkout repository
1313
uses: actions/checkout@v4
14-
- name: Setup Golang with cache
15-
uses: magnetikonline/action-golang-cache@v5
14+
- name: Setup Go
15+
uses: actions/setup-go@v6
1616
with:
1717
go-version-file: go.mod
1818
- name: Lint
19-
uses: golangci/golangci-lint-action@v8
19+
uses: golangci/golangci-lint-action@v9
2020
with:
2121
install-mode: goinstall
22-
version: v2.4.0
22+
version: v2.6.1
2323
- name: Test
2424
run: go test ./...

scanner/scanner_fuzz_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
//go:build go1.18
2-
// +build go1.18
3-
41
package scanner_test
52

63
import (

0 commit comments

Comments
 (0)