From faa35268d40a7781804417c8e43a102993462743 Mon Sep 17 00:00:00 2001 From: SuperQ Date: Wed, 10 Apr 2024 16:03:53 +0200 Subject: [PATCH] Update Go versions * Update minimum Go to 1.21. * Update testing to include Go 1.22. * Update Go modules. Signed-off-by: SuperQ --- .circleci/config.yml | 6 +++--- go.mod | 6 +++--- go.sum | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e9ecfe1a..018c8e1d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ version: 2.1 jobs: lint: docker: - - image: cimg/go:1.21 + - image: cimg/go:1.22 steps: - checkout - run: make check_license @@ -46,8 +46,8 @@ workflows: matrix: parameters: go_version: - - "1.20" - "1.21" + - "1.22" - test: name: test-windows os: windows @@ -55,5 +55,5 @@ workflows: matrix: parameters: go_version: - - "1.20" - "1.21" + - "1.22" diff --git a/go.mod b/go.mod index 02a3fe7a..e45aa573 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,9 @@ module github.com/prometheus/procfs -go 1.20 +go 1.21 require ( github.com/google/go-cmp v0.6.0 - golang.org/x/sync v0.6.0 - golang.org/x/sys v0.18.0 + golang.org/x/sync v0.7.0 + golang.org/x/sys v0.19.0 ) diff --git a/go.sum b/go.sum index 037f53a6..2e562205 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,6 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= -golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= -golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= +golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o= +golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=