Skip to content

Commit

Permalink
Bump Go to 1.19
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Comellini <luca.com@gmail.com>
  • Loading branch information
lucacome committed Nov 11, 2022
1 parent 8c9cb3f commit 830a079
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 696 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Expand Up @@ -96,12 +96,13 @@ workflows:
go_version:
- "1.17"
- "1.18"
- "1.19"
- test-assets:
name: assets-go-<< matrix.go_version >>
matrix:
parameters:
go_version:
- "1.18"
- "1.19"
- style:
name: style
go_version: "1.18"
go_version: "1.19"
2 changes: 1 addition & 1 deletion Makefile.common
Expand Up @@ -60,7 +60,7 @@ PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_

GOLANGCI_LINT :=
GOLANGCI_LINT_OPTS ?=
GOLANGCI_LINT_VERSION ?= v1.45.2
GOLANGCI_LINT_VERSION ?= v1.50.1
# golangci-lint only supports linux, darwin and windows platforms on i386/amd64.
# windows isn't included here because of the path separator being different.
ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin))
Expand Down
7 changes: 3 additions & 4 deletions go.mod
@@ -1,6 +1,6 @@
module github.com/prometheus/common

go 1.17
go 1.19

require (
github.com/go-kit/log v0.2.1
Expand All @@ -18,16 +18,15 @@ require (

require (
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d // indirect
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/go-logfmt/logfmt v0.5.1 // indirect
github.com/jpillora/backoff v1.0.0 // indirect
github.com/prometheus/procfs v0.8.0 // indirect
github.com/stretchr/testify v1.8.0 // indirect
github.com/stretchr/testify v1.8.1 // indirect
golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10 // indirect
golang.org/x/text v0.3.7 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
)

0 comments on commit 830a079

Please sign in to comment.