From eb3912401fb861a9860daa3bf4c11cfc5328af4d Mon Sep 17 00:00:00 2001 From: Anthony Seure Date: Mon, 4 May 2020 16:46:13 +0200 Subject: [PATCH] chore: specify support for Go 1.11 and above --- .circleci/config.yml | 17 ++++++++++++++++- README.md | 2 +- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9613b7b1e..bf3c91b35 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -38,13 +38,27 @@ jobs: steps: - checkout - restore_cache: - key: go-cache-1-14 + key: go-cache-1-14 - run: name: Install golangci-lint linter command: curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.25.0 - run: name: Check formatting command: make lint + test-1-11: + docker: + - image: circleci/golang:1.11 + steps: + - checkout + - restore_cache: + key: go-cache-1-11 + - credentials + - test: + go_version: "1.11" + - save_cache: + key: go-cache-1-11 + paths: + - "~/go/pkg" test-1-12: docker: - image: circleci/golang:1.12 @@ -93,6 +107,7 @@ workflows: build: jobs: - format + - test-1-11 - test-1-12 - test-1-13 - test-1-14 diff --git a/README.md b/README.md index 7806817ac..a69e262f5 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ GoDoc Go Report Card License - Supported version + Supported version