From 00591a3ea9c0d18f6bc983818a23901d4154077f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20R=C3=BCger?= Date: Thu, 6 Jan 2022 23:45:03 +0100 Subject: [PATCH] circleci: Test with go 1.17 (#347) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel RĂ¼ger --- .circleci/config.yml | 6 +++--- config/config_test.go | 1 + config/http_config.go | 1 + config/http_config_test.go | 1 + config/tls_config_test.go | 1 + expfmt/fuzz.go | 1 + 6 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f7d3c182..95065ae7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -93,12 +93,12 @@ workflows: name: go-<< matrix.go_version >> matrix: parameters: - go_version: ["1.13", "1.14", "1.15", "1.16"] + go_version: ["1.13", "1.14", "1.15", "1.16", "1.17"] - test-assets: name: assets-go-<< matrix.go_version >> matrix: parameters: - go_version: ["1.16"] + go_version: ["1.17"] - style: name: style - go_version: "1.16" + go_version: "1.17" diff --git a/config/config_test.go b/config/config_test.go index 81c78555..9f74c642 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -11,6 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build go1.8 // +build go1.8 package config diff --git a/config/http_config.go b/config/http_config.go index 4b872417..3fb120a0 100644 --- a/config/http_config.go +++ b/config/http_config.go @@ -11,6 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build go1.8 // +build go1.8 package config diff --git a/config/http_config_test.go b/config/http_config_test.go index cbaaba0a..4f664773 100644 --- a/config/http_config_test.go +++ b/config/http_config_test.go @@ -11,6 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build go1.8 // +build go1.8 package config diff --git a/config/tls_config_test.go b/config/tls_config_test.go index 57ad4bb4..bd8add67 100644 --- a/config/tls_config_test.go +++ b/config/tls_config_test.go @@ -11,6 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build go1.8 // +build go1.8 package config diff --git a/expfmt/fuzz.go b/expfmt/fuzz.go index dc2eedee..f819e4f8 100644 --- a/expfmt/fuzz.go +++ b/expfmt/fuzz.go @@ -12,6 +12,7 @@ // limitations under the License. // Build only when actually fuzzing +//go:build gofuzz // +build gofuzz package expfmt