Bump Go to 1.23 (#1832)

This commit is contained in:
David Pedersen authored and GitHub committed 2024-11-04 18:01:08 +11:00
1 parent fa2fa19ab0
commit b5b7b84568
4 files changed
+6 -22

No files matched your search

+4 -4
View File
@@ -21,7 +21,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.18"
go-version: "1.23"
- name: Build
run: go build -v ./...
@@ -31,7 +31,7 @@ jobs:
- uses: dominikh/staticcheck-action@v1.3.1
with:
version: "2022.1.3"
version: "2024.1.1"
install-go: false
cross-compile:
@@ -44,7 +44,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.18"
go-version: "1.23"
- name: Cross-compile on all supported platforms
run: gen/xbuild.sh
@@ -59,7 +59,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.18"
go-version: "1.23"
- name: Test `go fmt` creates no diffs
run: go fmt && git diff --exit-code