Build with Go 1.20

- Start using Go 1.20 toolchain to build
- Remove deprecated reference to updating .travis.yml

Signed-off-by: Kellin <kellin@retromud.org>
This commit is contained in:
Kellin 2023-06-29 17:50:47 -04:00 committed by gotjosh
parent a8d3f2f4de
commit 444772fb3d
No known key found for this signature in database
GPG Key ID: A6E1DDE38FF3C74E
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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: