Skip to content

Commit

Permalink
feat: upgrade go 1.20 -> 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
ryboe committed Oct 2, 2023
1 parent 9daf262 commit 8abbf47
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 47 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
lint:
name: GolangCI Lint
runs-on: ubuntu-latest
container: golangci/golangci-lint:v1.50-alpine
container: golangci/golangci-lint:v1.54-alpine

steps:
- name: Checkout repository
Expand All @@ -20,7 +20,7 @@ jobs:
tests:
name: Run unit tests with the race detector enabled
runs-on: ubuntu-latest
container: golang:1.20-alpine
container: golang:1.21-alpine

steps:
- name: Checkout repository
Expand Down
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ linters:
enable-all: true
disable:
- deadcode # deprecated
- depguard # enforces that only deps on a whitelist can be used (meant for orgs, not small projects)
- exhaustivestruct
- exhaustruct
- forbidigo # we need to use fmt.Print*()
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module github.com/ryboe/q

go 1.20
go 1.21

require github.com/kr/pretty v0.3.1

require (
github.com/kr/text v0.2.0 // indirect
github.com/rogpeppe/go-internal v1.9.0 // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
)
3 changes: 2 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3x
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=
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.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA=
3 changes: 0 additions & 3 deletions vendor/github.com/rogpeppe/go-internal/fmtsort/mapelem.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 0 additions & 24 deletions vendor/github.com/rogpeppe/go-internal/fmtsort/mapelem_1.11.go

This file was deleted.

25 changes: 12 additions & 13 deletions vendor/github.com/rogpeppe/go-internal/fmtsort/sort.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ github.com/kr/pretty
# github.com/kr/text v0.2.0
## explicit
github.com/kr/text
# github.com/rogpeppe/go-internal v1.9.0
## explicit; go 1.17
# github.com/rogpeppe/go-internal v1.11.0
## explicit; go 1.19
github.com/rogpeppe/go-internal/fmtsort

0 comments on commit 8abbf47

Please sign in to comment.