Skip to content

Commit c2013d0

Browse files
committed
Update GitHub Actions to use Go 1.24
- Update go.mod to Go 1.24.0 with toolchain go1.24.1 - Update GitHub Actions workflow to use Go 1.24 - Update action versions to v4 (checkout and setup-go) - Add GOTOOLCHAIN=local to prevent unexpected toolchain downloads - This matches the local development environment
1 parent 0f8454a commit c2013d0

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@ name: Test
33
jobs:
44
test:
55
runs-on: ubuntu-latest
6+
env:
7+
GOTOOLCHAIN: local
68
steps:
79
- name: Checkout code
8-
uses: actions/checkout@v3
10+
uses: actions/checkout@v4
911
- name: Install Go
10-
uses: actions/setup-go@v5
12+
uses: actions/setup-go@v4
1113
with:
12-
go-version: '1.20'
14+
go-version: '1.24'
1315
cache: false
1416
- name: Test
1517
run: go test ./...

go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module github.com/yaronf/httpsign
22

3-
go 1.21
3+
go 1.24.0
4+
5+
toolchain go1.24.1
46

57
require (
68
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883

0 commit comments

Comments
 (0)