Skip to content

Commit f6146e6

Browse files
committed
chore: upgrade Go to 1.23.0
Signed-off-by: Donnie Adams <[email protected]>
1 parent 0df984f commit f6146e6

File tree

11 files changed

+20
-25
lines changed

11 files changed

+20
-25
lines changed

Diff for: .github/workflows/integration.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- uses: actions/setup-go@v5
3030
with:
3131
cache: false
32-
go-version: "1.22"
32+
go-version: "1.23"
3333
- name: Build
3434
if: matrix.os == 'ubuntu-22.04'
3535
run: make build

Diff for: .github/workflows/main.yaml

+1-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ jobs:
2626
uses: actions/setup-go@v5
2727
with:
2828
cache: false
29-
# This can't be upgraded until the issue with sys.daemon on Windows is resolved
30-
# After the issue is resolved, this can be set to 1.22
31-
go-version: "1.22.4"
29+
go-version: "1.23"
3230
- name: Run GoReleaser
3331
uses: goreleaser/goreleaser-action@v6
3432
with:

Diff for: .github/workflows/release.yaml

+1-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ jobs:
2020
uses: actions/setup-go@v5
2121
with:
2222
cache: false
23-
# This can't be upgraded until the issue with sys.daemon on Windows is resolved
24-
# After the issue is resolved, this can be set to 1.22
25-
go-version: "1.22.4"
23+
go-version: "1.23"
2624
- name: Run GoReleaser
2725
uses: goreleaser/goreleaser-action@v6
2826
with:

Diff for: .github/workflows/test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- uses: actions/setup-go@v5
3030
with:
3131
cache: false
32-
go-version: "1.22"
32+
go-version: "1.23"
3333
- name: Validate
3434
if: matrix.os == 'ubuntu-22.04'
3535
run: make validate

Diff for: .github/workflows/validate-docs.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ jobs:
1717
- uses: actions/setup-go@v5
1818
with:
1919
cache: false
20-
go-version: "1.22"
20+
go-version: "1.23"
2121
- run: make init-docs
2222
- run: make validate-docs

Diff for: Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ smoke: build
2222
smoke:
2323
go test -v -tags='smoke' ./pkg/tests/smoke/...
2424

25-
GOLANGCI_LINT_VERSION ?= v1.59.0
25+
GOLANGCI_LINT_VERSION ?= v1.60.1
2626
lint:
2727
if ! command -v golangci-lint &> /dev/null; then \
2828
echo "Could not find golangci-lint, installing version $(GOLANGCI_LINT_VERSION)."; \

Diff for: go.mod

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
module github.com/gptscript-ai/gptscript
22

3-
// This can't be upgraded until the issue with sys.daemon on Windows is resolved
4-
go 1.22.4
3+
go 1.23.0
54

65
require (
76
github.com/AlecAivazis/survey/v2 v2.3.7

Diff for: pkg/repos/runtimes/default.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var Runtimes = []repos.Runtime{
2626
Default: true,
2727
},
2828
&golang.Runtime{
29-
Version: "1.22.1",
29+
Version: "1.23.0",
3030
},
3131
}
3232

Diff for: pkg/repos/runtimes/golang/digests.txt

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
3bc971772f4712fec0364f4bc3de06af22a00a12daab10b6f717fdcd13156cc0 go1.22.1.darwin-amd64.tar.gz
2-
943e4f9f038239f9911c44366f52ab9202f6ee13610322a668fe42406fb3deef go1.22.1.darwin-amd64.pkg
3-
f6a9cec6b8a002fcc9c0ee24ec04d67f430a52abc3cfd613836986bcc00d8383 go1.22.1.darwin-arm64.tar.gz
4-
5f10b95e2678618f85ba9d87fbed506b3b87efc9d5a8cafda939055cb97949ba go1.22.1.darwin-arm64.pkg
5-
8484df36d3d40139eaf0fe5e647b006435d826cc12f9ae72973bf7ec265e0ae4 go1.22.1.linux-386.tar.gz
6-
aab8e15785c997ae20f9c88422ee35d962c4562212bb0f879d052a35c8307c7f go1.22.1.linux-amd64.tar.gz
7-
e56685a245b6a0c592fc4a55f0b7803af5b3f827aaa29feab1f40e491acf35b8 go1.22.1.linux-arm64.tar.gz
8-
8cb7a90e48c20daed39a6ac8b8a40760030ba5e93c12274c42191d868687c281 go1.22.1.linux-armv6l.tar.gz
9-
0c5ebb7eb39b7884ec99f92b425d4c03a96a72443562aafbf6e7d15c42a3108a go1.22.1.windows-386.zip
10-
cf9c66a208a106402a527f5b956269ca506cfe535fc388e828d249ea88ed28ba go1.22.1.windows-amd64.zip
1+
ffd070acf59f054e8691b838f274d540572db0bd09654af851e4e76ab88403dc go1.23.0.darwin-amd64.tar.gz
2+
bc91d2573939a01731413fac0884c329606c1c168883692131ce772669caf27b go1.23.0.darwin-amd64.pkg
3+
b770812aef17d7b2ea406588e2b97689e9557aac7e646fe76218b216e2c51406 go1.23.0.darwin-arm64.tar.gz
4+
d73ae741ed449ea842238f76f4b02935277eb867689f84ace0640965b2caf700 go1.23.0.darwin-arm64.pkg
5+
0e8a7340c2632e6fb5088d60f95b52be1f8303143e04cd34e9b2314fafc24edd go1.23.0.linux-386.tar.gz
6+
905a297f19ead44780548933e0ff1a1b86e8327bb459e92f9c0012569f76f5e3 go1.23.0.linux-amd64.tar.gz
7+
62788056693009bcf7020eedc778cdd1781941c6145eab7688bd087bce0f8659 go1.23.0.linux-arm64.tar.gz
8+
0efa1338e644d7f74064fa7f1016b5da7872b2df0070ea3b56e4fef63192e35b go1.23.0.linux-armv6l.tar.gz
9+
09448fedec0cdf98ad12397222e0c8bfc835b1d0894c0015ced653534b8d7427 go1.23.0.windows-386.zip
10+
d4be481ef73079ee0ad46081d278923aa3fd78db1b3cf147172592f73e14c1ac go1.23.0.windows-amd64.zip

Diff for: pkg/repos/runtimes/golang/golang_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func TestRuntime(t *testing.T) {
2525
os.RemoveAll("testdata/bin")
2626
})
2727
r := Runtime{
28-
Version: "1.22.1",
28+
Version: "1.23.0",
2929
}
3030

3131
s, err := r.Setup(context.Background(), types.Tool{}, testCacheHome, "testdata", os.Environ())

Diff for: pkg/repos/runtimes/golang/testdata/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module example.com
22

3-
go 1.22.1
3+
go 1.23.0

0 commit comments

Comments
 (0)