From 0bc3fd69df6f0afb55eea379dfdf0a75eb83429a Mon Sep 17 00:00:00 2001 From: Kellin Date: Thu, 29 Jun 2023 17:50:47 -0400 Subject: [PATCH] Build with Go 1.20 - Start using Go 1.20 toolchain to build - Remove deprecated reference to updating .travis.yml Signed-off-by: Kellin --- .circleci/config.yml | 6 +++--- .promu.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 567571df..32360b95 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,7 +18,7 @@ jobs: command: sudo rm -rf /usr/local/go # Whenever the Go version is updated here, .promu.yml should also be updated. - go/install: - version: "1.19" + version: "1.20" - run: name: Remove generated code command: make clean @@ -47,7 +47,7 @@ jobs: test: docker: # Whenever the Go version is updated here, .promu.yml should also be updated. - - image: quay.io/prometheus/golang-builder:1.19-base + - image: quay.io/prometheus/golang-builder:1.20-base # maildev containers are for running the email tests against a "real" SMTP server. # See notify/email_test.go for details. - image: maildev/maildev:1.1.0 @@ -104,7 +104,7 @@ jobs: mixin: docker: # Whenever the Go version is updated here, .promu.yml should also be updated. - - image: quay.io/prometheus/golang-builder:1.19-base + - image: quay.io/prometheus/golang-builder:1.20-base steps: - checkout - run: go install github.com/monitoring-mixins/mixtool/cmd/mixtool@latest diff --git a/.promu.yml b/.promu.yml index 30b497b4..7155850f 100644 --- a/.promu.yml +++ b/.promu.yml @@ -1,7 +1,7 @@ go: - # Whenever the Go version is updated here, .travis.yml and + # Whenever the Go version is updated here, # .circle/config.yml should also be updated. - version: 1.19 + version: 1.20 repository: path: github.com/prometheus/alertmanager build: