From 5ca7f34782934779bf78ff0a97e2bdcccf7a31ff Mon Sep 17 00:00:00 2001 From: Ben Kochie Date: Sat, 18 Jun 2022 09:12:16 +0200 Subject: [PATCH] Update build (#454) * Update minimum supported version to 1.17. * Update Go modules. * Enable dependabot. Signed-off-by: SuperQ --- .circleci/config.yml | 4 ---- .github/dependabot.yml | 6 ++++++ go.mod | 8 ++++---- go.sum | 14 ++++++-------- 4 files changed, 16 insertions(+), 16 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.circleci/config.yml b/.circleci/config.yml index b95e376f64..7e58263b2e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -54,8 +54,6 @@ workflows: matrix: parameters: go_version: - - "1.15" - - "1.16" - "1.17" - "1.18" - test: @@ -65,8 +63,6 @@ workflows: matrix: parameters: go_version: - - "1.15" - - "1.16" - "1.17" - "1.18" - codespell diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000000..202ae2366a --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "gomod" + directory: "/" + schedule: + interval: "monthly" diff --git a/go.mod b/go.mod index bff0d0b9e9..f34c350d8f 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,9 @@ module github.com/prometheus/procfs -go 1.15 +go 1.17 require ( - github.com/google/go-cmp v0.5.7 - golang.org/x/sync v0.0.0-20210220032951-036812b2e83c - golang.org/x/sys v0.0.0-20220412211240-33da011f77ad + github.com/google/go-cmp v0.5.8 + golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f + golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a ) diff --git a/go.sum b/go.sum index e2fe30a161..1e57810df8 100644 --- a/go.sum +++ b/go.sum @@ -1,8 +1,6 @@ -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20220412211240-33da011f77ad h1:ntjMns5wyP/fN65tdBD4g8J5w8n015+iIIs9rtjXkY0= -golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f h1:Ax0t5p6N38Ga0dThY21weqDEyz2oklo4IvDkpigvkD8= +golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a h1:dGzPydgVsqGcTRVwiLJ1jVbufYwmzD3LfVPLKsKg+0k= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=