drop support for Go 1.15

This commit is contained in:
Marten Seemann
2021-08-05 10:28:43 +02:00
parent 761c0fabd6
commit 68e468a3bc
30 changed files with 93 additions and 209 deletions

View File

@@ -4,7 +4,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: [ "1.15.x", "1.16.x", "1.17.0-rc1" ]
go: [ "1.16.x", "1.17.0-rc1" ]
runs-on: ubuntu-latest
name: "Cross Compilation (Go ${{matrix.go}})"
steps:

View File

@@ -5,7 +5,6 @@ set -e
DIR=$(pwd)
TMP=$(mktemp -d)
cd "$TMP"
mkdir orig generated
cp -r "$DIR" orig
cp -r "$DIR" generated

View File

@@ -5,6 +5,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.16.x"
- name: Install dependencies
run: go build
- name: Install code generators
@@ -13,7 +15,4 @@ jobs:
go install -v github.com/golang/mock/mockgen
go install -v golang.org/x/tools/cmd/goimports
- name: Run code generators
run: |
export GOPATH=$(go env GOPATH)
export PATH=$PATH:$GOPATH/bin
.github/workflows/go-generate.sh
run: .github/workflows/go-generate.sh

View File

@@ -5,7 +5,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: [ "1.15.x", "1.16.x", "1.17.0-rc1" ]
go: [ "1.16.x", "1.17.0-rc1" ]
runs-on: ubuntu-latest
env:
DEBUG: false # set this to true to export qlogs and save them as artifacts

View File

@@ -7,7 +7,7 @@ jobs:
fail-fast: false
matrix:
os: [ "ubuntu", "windows", "macos" ]
go: [ "1.15.x", "1.16.x", "1.17.0-rc1" ]
go: [ "1.16.x", "1.17.0-rc1" ]
runs-on: ${{ matrix.os }}-latest
name: Unit tests (${{ matrix.os}}, Go ${{ matrix.go }})
steps: