Skip to content

Support Go 1.22 and 1.23 #367

Support Go 1.22 and 1.23

Support Go 1.22 and 1.23 #367

Workflow file for this run

name: test
on:
push: { branches: [v2] }
pull_request: { branches: [v2] }
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.23.0-rc.1
cache: false
- run: make check
env: { SKIP_LINT: true }
# - uses: golangci/golangci-lint-action@v4
# with: { version: "latest" }
- run: make cov
env: { GOEXPERIMENT: rangefunc }
- uses: codecov/codecov-action@v4
env: { CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}" }
test-123:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.23.0-rc.1
cache: false
- run: make test
test-122:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
cache: false
- run: make test
env: { GOEXPERIMENT: rangefunc }