add support for Go 1.20 (#3641)

This commit is contained in:
Marten Seemann 2023-01-17 23:22:36 -08:00 committed by GitHub
parent 2aa71ff76b
commit 576d85cd3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 115 additions and 13 deletions

View file

@ -4,14 +4,13 @@ jobs:
strategy:
fail-fast: false
matrix:
go: [ "1.18.x", "1.19.x" ]
go: [ "1.18.x", "1.19.x", "1.20.0-rc.2" ]
runs-on: ubuntu-latest
name: "Cross Compilation (Go ${{matrix.go}})"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
stable: '!contains(${{ matrix.go }}, "beta") && !contains(${{ matrix.go }}, "rc")'
go-version: ${{ matrix.go }}
- name: Install build utils
run: |

View file

@ -5,15 +5,15 @@ jobs:
strategy:
fail-fast: false
matrix:
go: [ "1.18.x", "1.19.x" ]
go: [ "1.18.x", "1.19.x", "1.20.0-rc.2" ]
runs-on: ubuntu-latest
env:
DEBUG: false # set this to true to export qlogs and save them as artifacts
TIMESCALE_FACTOR: 3
name: Integration Tests (Go ${{ matrix.go }})
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
stable: '!contains(${{ matrix.go }}, "beta") && !contains(${{ matrix.go }}, "rc")'
go-version: ${{ matrix.go }}

View file

@ -7,14 +7,13 @@ jobs:
fail-fast: false
matrix:
os: [ "ubuntu", "windows", "macos" ]
go: [ "1.18.x", "1.19.x" ]
go: [ "1.18.x", "1.19.x", "1.20.0-rc.2" ]
runs-on: ${{ matrix.os }}-latest
name: Unit tests (${{ matrix.os}}, Go ${{ matrix.go }})
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
stable: '!contains(${{ matrix.go }}, "beta") && !contains(${{ matrix.go }}, "rc")'
go-version: ${{ matrix.go }}
- run: go version
- name: Run tests