Skip to content

Commit b52be23

Browse files
authored
Fix go version in release workflow and bump step versions (#377)
* build: bump `actions/setup-go` to `v5` * build: load go version from `go.mod` in `release` workflow * build: bump `golangci/golangci-lint-action` to `v4`
1 parent ea02a51 commit b52be23

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
fetch-depth: 0
1616

1717
- name: Set up Go
18-
uses: actions/setup-go@v4
18+
uses: actions/setup-go@v5
1919
with:
20-
go-version: 1.19
20+
go-version-file: 'go.mod'
2121

2222
- name: Import GPG key
2323
id: import_gpg

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
uses: actions/checkout@v4
2020

2121
- name: Set up Go
22-
uses: actions/setup-go@v4
22+
uses: actions/setup-go@v5
2323
with:
2424
go-version-file: 'go.mod'
2525
id: go
2626

2727
- name: Run linters
28-
uses: golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5 # v3.4.0
28+
uses: golangci/golangci-lint-action@v4
2929
with:
3030
version: v1.51.2
3131

@@ -54,7 +54,7 @@ jobs:
5454
uses: actions/checkout@v4
5555

5656
- name: Setup Go
57-
uses: actions/setup-go@v4
57+
uses: actions/setup-go@v5
5858
with:
5959
go-version-file: 'go.mod'
6060
check-latest: true

0 commit comments

Comments
 (0)