-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update go.mod to require Go 1.21 (#3581)
* Update circleci/go to 1.9.0 --------- Signed-off-by: George Robinson <[email protected]>
- Loading branch information
1 parent
fdea7e7
commit ce6efba
Showing
7 changed files
with
15 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
version: 2.1 | ||
orbs: | ||
prometheus: prometheus/[email protected] | ||
go: circleci/go@1.7.3 | ||
go: circleci/go@1.9.0 | ||
jobs: | ||
test_frontend: | ||
# We need to use a machine executor because the front-end validation runs | ||
|
@@ -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.20" | ||
version: "1.21.3" | ||
- 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.20-base | ||
- image: quay.io/prometheus/golang-builder:1.21-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.20-base | ||
- image: quay.io/prometheus/golang-builder:1.21-base | ||
steps: | ||
- checkout | ||
# pin the mixtool version until https://github.com/monitoring-mixins/mixtool/issues/135 is merged. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ jobs: | |
# Whenever the Go version is updated here, .promu.yml | ||
# should also be updated. | ||
container: | ||
image: quay.io/prometheus/golang-builder:1.19-base | ||
image: quay.io/prometheus/golang-builder:1.21-base | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: prometheus/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
- name: install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.19.x | ||
go-version: 1.21.x | ||
- run: make build | ||
- name: Lint | ||
uses: golangci/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module github.com/prometheus/alertmanager | ||
|
||
go 1.18 | ||
go 1.21 | ||
|
||
require ( | ||
github.com/alecthomas/kingpin/v2 v2.3.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters