drop support for Go 1.20, build on Go 1.22rc1 on CI (#4195)

* drop support for Go 1.20

* ci: udpate CircleCI to Go 1.21

* qtls: remove unnecessary type aliases

* ci: build using Go 1.22rc1
This commit is contained in:
Marten Seemann
2023-12-28 11:31:58 +07:00
committed by GitHub
parent 31a677cacd
commit d795250479
23 changed files with 70 additions and 1591 deletions

View File

@@ -7,12 +7,12 @@ jobs:
fail-fast: false
matrix:
os: [ "ubuntu", "windows", "macos" ]
go: [ "1.20.x", "1.21.x" ]
go: [ "1.21.x", "1.22.0-rc.1" ]
runs-on: ${{ fromJSON(vars[format('UNIT_RUNNER_{0}', matrix.os)] || format('"{0}-latest"', matrix.os)) }}
name: Unit tests (${{ matrix.os}}, Go ${{ matrix.go }})
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- run: go version