chore: update Go version in CI workflows and dependencies

- Drop Go version `1.22` from CI workflows
- Update go.mod to use Go version `1.23.0` instead of `1.22`

Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
appleboy 2025-03-18 22:53:59 +08:00
parent 94e13d1619
commit 6d999ec344
No known key found for this signature in database
2 changed files with 2 additions and 3 deletions

View File

@ -33,7 +33,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, macos-latest] os: [ubuntu-latest, macos-latest]
go: ["1.22", "1.23", "1.24"] go: ["1.23", "1.24"]
test-tags: test-tags:
["", "-tags nomsgpack", '-tags "sonic avx"', "-tags go_json", "-race"] ["", "-tags nomsgpack", '-tags "sonic avx"', "-tags go_json", "-race"]
include: include:

3
go.mod
View File

@ -1,7 +1,6 @@
module github.com/gin-gonic/gin module github.com/gin-gonic/gin
go 1.22 go 1.23.0
toolchain go1.23.7
require ( require (
github.com/bytedance/sonic v1.11.6 github.com/bytedance/sonic v1.11.6