From 547913a9d4710d20a4b77aa9d84bcd8319b4bbe2 Mon Sep 17 00:00:00 2001 From: Vlad Gorodetsky Date: Wed, 26 Feb 2020 17:16:17 +0200 Subject: [PATCH 1/3] Add support for Go 1.14 --- .github/workflows/ci.yml | 2 +- README.md | 2 +- dev.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4a14c69a..dc6a6ca18 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - go-version: [1.12.x, 1.13.x] + go-version: [1.12.x, 1.13.x, 1.14.x] kafka-version: [2.2.2, 2.3.1, 2.4.0] platform: [ubuntu-latest] diff --git a/README.md b/README.md index 18ad7bf19..9b7478d7c 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.12 through 1.13, and Kafka 2.1 through 2.4, although older releases are +Go 1.12 through 1.14, and Kafka 2.1 through 2.4, 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 6f6807e76..57b2d3ca8 100644 --- a/dev.yml +++ b/dev.yml @@ -2,7 +2,7 @@ name: sarama up: - go: - version: '1.13.7' + version: '1.14' commands: test: From 7dcd7fd7f89cd757cfb642bd3987ad17f81ef63e Mon Sep 17 00:00:00 2001 From: Vlad Gorodetsky Date: Wed, 26 Feb 2020 17:18:39 +0200 Subject: [PATCH 2/3] Kafka 2.2.2 is beyond 2 months horizon --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dc6a6ca18..505582607 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: fail-fast: false matrix: go-version: [1.12.x, 1.13.x, 1.14.x] - kafka-version: [2.2.2, 2.3.1, 2.4.0] + kafka-version: [2.3.1, 2.4.0] platform: [ubuntu-latest] env: From d8490dc3606951e20d88b5ea345f5bfbeb7ac5fc Mon Sep 17 00:00:00 2001 From: Vlad Gorodetsky Date: Thu, 27 Feb 2020 08:12:47 +0200 Subject: [PATCH 3/3] Bump golangci-lint to 1.23.6 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 505582607..46f015eca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,7 +46,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.23.3 + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.6 export REPOSITORY_ROOT=${GITHUB_WORKSPACE} vagrant/install_cluster.sh vagrant/boot_cluster.sh