Skip to content

Commit 239e58f

Browse files
Copilottomodian
andcommitted
Upgrade to Go 1.24 and fix CI workflows
Co-authored-by: tomodian <158877+tomodian@users.noreply.github.com>
1 parent 36c3b58 commit 239e58f

4 files changed

Lines changed: 12 additions & 2 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v4
1313

14+
- name: Setup Go
15+
uses: actions/setup-go@v5
16+
with:
17+
go-version: '1.24'
18+
1419
# Tips on Go binary:
1520
# https://github.com/actions/setup-go/issues/27#issuecomment-549102955
1621
- name: Build

‎.github/workflows/test.build.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ jobs:
1414
- name: Checkout
1515
uses: actions/checkout@v4
1616

17+
- name: Setup Go
18+
uses: actions/setup-go@v5
19+
with:
20+
go-version: '1.24'
21+
1722
- name: Build
1823
run: |
1924
export PATH=${PATH}:`go env GOPATH`/bin

‎.github/workflows/test.linux.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup runtime
2121
uses: actions/setup-go@v5
2222
with:
23-
node-version: ${{ matrix.node }}
23+
go-version: '1.24'
2424

2525
- name: Test
2626
run: make test

‎go.mod‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/tomodian/release
22

3-
go 1.23.3
3+
go 1.24
44

55
require (
66
github.com/blang/semver/v4 v4.0.0

0 commit comments

Comments
 (0)