Skip to content

Commit 5d88eb7

Browse files
committed
Update GitHub Actions to use latest setup-go and checkout actions
1 parent eab85a3 commit 5d88eb7

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ jobs:
1919
# go: [stable, oldstable]
2020
steps:
2121
- name: Set up Go ${{ matrix.go }}
22-
uses: actions/setup-go@v5
22+
uses: actions/setup-go@v6
2323
with:
2424
# go-version: ^1.13
2525
go-version: ${{ matrix.go }}
2626
id: go
2727

2828
- name: Check out code into the Go module directory
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v5
3030

3131
- name: Get dependencies
3232
run: |

.github/workflows/golangci-lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
go: [ '1.21' , '1.22', '1.23', '1.24']
2424
steps:
2525
- name: Set up Go 1.x
26-
uses: actions/setup-go@v5
26+
uses: actions/setup-go@v6
2727
with:
2828
go-version: ${{ matrix.go }}
2929

30-
- uses: actions/checkout@v4
30+
- uses: actions/checkout@v5
3131

3232
- name: golangci-lint
33-
uses: golangci/golangci-lint-action@v4
33+
uses: golangci/golangci-lint-action@v8

.golangci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# golangci-lint run
2+
3+
version: 2
4+
15
linters-settings:
26
staticcheck:
37
checks:

0 commit comments

Comments
 (0)