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
parent a85979e19d
commit 0bc3fd69df
2 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ jobs:
command: sudo rm -rf /usr/local/go command: sudo rm -rf /usr/local/go
# Whenever the Go version is updated here, .promu.yml should also be updated. # Whenever the Go version is updated here, .promu.yml should also be updated.
- go/install: - go/install:
version: "1.19" version: "1.20"
- run: - run:
name: Remove generated code name: Remove generated code
command: make clean command: make clean
@ -47,7 +47,7 @@ jobs:
test: test:
docker: docker:
# Whenever the Go version is updated here, .promu.yml should also be updated. # 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. # maildev containers are for running the email tests against a "real" SMTP server.
# See notify/email_test.go for details. # See notify/email_test.go for details.
- image: maildev/maildev:1.1.0 - image: maildev/maildev:1.1.0
@ -104,7 +104,7 @@ jobs:
mixin: mixin:
docker: docker:
# Whenever the Go version is updated here, .promu.yml should also be updated. # 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: steps:
- checkout - checkout
- run: go install github.com/monitoring-mixins/mixtool/cmd/mixtool@latest - run: go install github.com/monitoring-mixins/mixtool/cmd/mixtool@latest

View File

@ -1,7 +1,7 @@
go: 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. # .circle/config.yml should also be updated.
version: 1.19 version: 1.20
repository: repository:
path: github.com/prometheus/alertmanager path: github.com/prometheus/alertmanager
build: build: