Skip to content

Commit 19b70de

Browse files
committed
Update GitHub Actions workflow to use Go version 1.24 and fix go.mod version
1 parent 7ed0a5c commit 19b70de

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set up Go
2828
uses: actions/setup-go@v4
2929
with:
30-
go-version: '1.20'
30+
go-version: '1.24'
3131

3232
- name: Set up Ruby
3333
uses: ruby/setup-ruby@v1
@@ -41,6 +41,11 @@ jobs:
4141
id: get_version
4242
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
4343

44+
- name: Fix go.mod version
45+
run: |
46+
# Update go.mod with a valid Go version
47+
sed -i 's/go 1.24.3/go 1.24/' go.mod
48+
4449
- name: Build binary for ${{ matrix.arch }}
4550
run: GOARCH=${{ matrix.goarch }} go build -o agent
4651

0 commit comments

Comments
 (0)