Skip to content

Commit

Permalink
Use Go 1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
prymitive committed Feb 10, 2023
1 parent 1610249 commit 2fa3dcc
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19.5
go-version: 1.20.0
cache: true

- name: Test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19.5
go-version: 1.20.0
cache: true

- name: Compile pint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19.5
go-version: 1.20.0
cache: true

- name: Set up QEMU
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19.5
go-version: 1.20.0
cache: true

- name: Build binary
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-mod-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19.5
go-version: 1.20.0

- name: Run go mod tidy
run: go mod tidy
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19.5
go-version: 1.20.0
cache: true
cache-dependency-path: tools/golangci-lint/go.sum

Expand All @@ -34,7 +34,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19.5
go-version: 1.20.0
cache: true
cache-dependency-path: tools/gofumpt/go.sum

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19.5
go-version: 1.20.0
cache: true

- name: Test
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/cloudflare/pint

go 1.19
go 1.20

require (
github.com/cespare/xxhash/v2 v2.2.0
Expand All @@ -15,7 +15,7 @@ require (
github.com/prometheus/common v0.39.0
github.com/prometheus/prometheus v0.42.0
github.com/prymitive/current v0.1.0
github.com/rogpeppe/go-internal v1.9.0
github.com/rogpeppe/go-internal v1.9.1-0.20230209130841-f0583b8402aa
github.com/rs/zerolog v1.29.0
github.com/stretchr/testify v1.8.1
github.com/urfave/cli/v2 v2.24.3
Expand Down
3 changes: 2 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,9 @@ github.com/prometheus/prometheus v0.42.0/go.mod h1:Pfqb/MLnnR2KK+0vchiaH39jXxvLM
github.com/prymitive/current v0.1.0 h1:j0qvhMUKEz4rZE7YgftTYnBcaujmv6RVGvvmEC+p+6E=
github.com/prymitive/current v0.1.0/go.mod h1:ZKbTBHjDMGAM3YPcnkA2I4L5U/vYfbXyVTKZJWhTCoc=
github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8=
github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
github.com/rogpeppe/go-internal v1.9.1-0.20230209130841-f0583b8402aa h1:ffzRZUxPxKUZiv+XButQiigyMv4dEvynFqEYbkFsHDw=
github.com/rogpeppe/go-internal v1.9.1-0.20230209130841-f0583b8402aa/go.mod h1:4DOBFiuQsmS6qjl8rsAMyM0e8miaqS/Wnm+9jQ5RiOU=
github.com/rs/xid v1.4.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg=
github.com/rs/zerolog v1.29.0 h1:Zes4hju04hjbvkVkOhdl2HpZa+0PmVwigmo8XoORE5w=
github.com/rs/zerolog v1.29.0/go.mod h1:NILgTygv/Uej1ra5XxGf82ZFSLk58MFGAUS2o6usyD0=
Expand Down
2 changes: 1 addition & 1 deletion tools/gofumpt/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module _

go 1.19
go 1.20

require mvdan.cc/gofumpt v0.4.0

Expand Down
2 changes: 1 addition & 1 deletion tools/goimports/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module _

go 1.19
go 1.20

require golang.org/x/tools v0.5.0

Expand Down
2 changes: 1 addition & 1 deletion tools/golangci-lint/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module _

go 1.19
go 1.20

require github.com/golangci/golangci-lint v1.51.1

Expand Down

0 comments on commit 2fa3dcc

Please sign in to comment.