From 974e37b5164ada9943d633b9e95a3c1e6abbdf18 Mon Sep 17 00:00:00 2001 From: Vlad Gorodetsky Date: Tue, 7 Sep 2021 11:47:08 +0300 Subject: [PATCH] Add support for Go 1.17 --- .github/workflows/ci.yml | 4 ++-- README.md | 2 +- dev.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d806f18f3..1a1d55c98 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - go-version: [1.15.x, 1.16.x] + go-version: [1.16.x, 1.17.x] kafka-version: [2.7.1, 2.8.0] platform: [ubuntu-latest] @@ -34,7 +34,7 @@ jobs: - name: Install dependencies run: | - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.37.1 + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.42.1 export REPOSITORY_ROOT=${GITHUB_WORKSPACE} - name: Run test suite diff --git a/README.md b/README.md index f2beb7393..0a13fd761 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ You might also want to look at the [Frequently Asked Questions](https://github.c Sarama provides a "2 releases + 2 months" compatibility guarantee: we support the two latest stable releases of Kafka and Go, and we provide a two month grace period for older releases. This means we currently officially support -Go 1.15 through 1.16, and Kafka 2.6 through 2.8, although older releases are +Go 1.15 through 1.16, and Kafka 2.7 through 2.8, although older releases are still likely to work. Sarama follows semantic versioning and provides API stability via the gopkg.in service. diff --git a/dev.yml b/dev.yml index 7bf9ff918..fb650ae3e 100644 --- a/dev.yml +++ b/dev.yml @@ -2,7 +2,7 @@ name: sarama up: - go: - version: '1.16' + version: '1.17' commands: test: