build: bump go minimum version to 1.24.0

This commit is contained in:
Mingye Chen 2025-03-01 19:58:18 -07:00
parent 6c3c017a94
commit 5ce39b85e6
2 changed files with 14 additions and 14 deletions

View file

@ -5,25 +5,25 @@ name: "Go"
on:
push:
branches: [ "master" ]
branches: ["master"]
pull_request:
branches: [ "master" ]
branches: ["master"]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ "ubuntu-latest", "windows-latest", "macos-latest" ]
go: [ "1.21.x", "1.22.x" ]
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
go: ["1.24.x"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- run: go version
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- run: go version
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...

2
go.mod
View file

@ -1,6 +1,6 @@
module github.com/refraction-networking/utls
go 1.22.0
go 1.24.0
retract (
v1.4.1 // #218