Skip to content

Commit cfbb6d0

Browse files
committed
feat(ci): bump golangci-lint
1 parent 549374e commit cfbb6d0

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

.github/workflows/release.yaml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,17 @@ jobs:
1010
steps:
1111
- name: Checkout
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
17+
- name: Download dependencies
18+
run: go mod download
1719
- name: Lint
18-
uses: golangci/golangci-lint-action@v8
20+
uses: golangci/golangci-lint-action@v9
1921
with:
2022
install-mode: goinstall
21-
version: v2.4.0
23+
version: v2.6.1
2224
- name: Test
2325
run: go test ./...
2426
release-please:
@@ -53,10 +55,12 @@ jobs:
5355
steps:
5456
- name: Checkout
5557
uses: actions/checkout@v4
56-
- name: Setup Golang with cache
57-
uses: magnetikonline/action-golang-cache@v5
58+
- name: Setup Go
59+
uses: actions/setup-go@v6
5860
with:
5961
go-version-file: go.mod
62+
- name: Download dependencies
63+
run: go mod download
6064
- name: Build
6165
run: |
6266
set -e
@@ -82,7 +86,7 @@ jobs:
8286
steps:
8387
- name: Checkout
8488
uses: actions/checkout@v4
85-
- name: Set up Docker Buildx
89+
- name: Setup Docker Buildx
8690
uses: docker/setup-buildx-action@v1
8791
- name: Login into DockerHub
8892
run: echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin

.github/workflows/test.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,16 @@ jobs:
1111
steps:
1212
- name: Checkout
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
18+
- name: Download dependencies
19+
run: go mod download
1820
- name: Lint
19-
uses: golangci/golangci-lint-action@v8
21+
uses: golangci/golangci-lint-action@v9
2022
with:
2123
install-mode: goinstall
22-
version: v2.4.0
24+
version: v2.6.1
2325
- name: Test
2426
run: go test ./...

0 commit comments

Comments
 (0)