Skip to content

Commit

Permalink
Update Go version
Browse files Browse the repository at this point in the history
* Update Go to 1.20
* Update minimum Go to 1.19
* Update Go modules.

Signed-off-by: SuperQ <superq@gmail.com>
  • Loading branch information
SuperQ committed May 16, 2023
1 parent 24c2637 commit 3393842
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 2.1
jobs:
lint:
docker:
- image: cimg/go:1.19
- image: cimg/go:1.20
steps:
- checkout
- run: make check_license
Expand Down Expand Up @@ -55,15 +55,15 @@ workflows:
matrix:
parameters:
go_version:
- "1.18"
- "1.19"
- "1.20"
- test:
name: test-windows
os: windows
run_test: false
matrix:
parameters:
go_version:
- "1.18"
- "1.19"
- "1.20"
- codespell
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/prometheus/procfs

go 1.18
go 1.19

require (
github.com/google/go-cmp v0.5.9
golang.org/x/sync v0.1.0
golang.org/x/sys v0.7.0
golang.org/x/sync v0.2.0
golang.org/x/sys v0.8.0
)
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o=
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.7.0 h1:3jlCCIQZPdOYu1h8BkNvLz8Kgwtae2cagcG/VamtZRU=
golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI=
golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=

0 comments on commit 3393842

Please sign in to comment.