-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Go (and golangci-lint, and gqlgen) versions, and test codegen (#…
…362) Originally my goal here was to add a check that generated code is up to date. (In #360 I was reminded that we have that for first-party code, but not gqlgen.) Then I figured I'd update the Go version to support 1.23, which required updating gqlgen and golangci-lint, both of which now have minimum Go versions of 1.22. So now that's ours too. Those are the only upstream supported versions anyway, so hopefully people are updated. I suspect the CI version-setting stuff can get simplified a bit with all the Go toolchain version stuff, but for now I didn't bother. I have: - [x] Written a clear PR title and description (above) - [x] Signed the [Khan Academy CLA](https://www.khanacademy.org/r/cla) - [x] Added tests covering my changes, if applicable - [x] Included a link to the issue fixed, if applicable - [x] Included documentation, for new features - [x] Added an entry to the changelog
- Loading branch information
1 parent
800909d
commit 1147aaf
Showing
13 changed files
with
720 additions
and
471 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,31 @@ | ||
module github.com/Khan/genqlient | ||
|
||
go 1.20 | ||
go 1.22.5 | ||
|
||
toolchain go1.23.3 | ||
|
||
require ( | ||
github.com/99designs/gqlgen v0.17.44 | ||
github.com/99designs/gqlgen v0.17.57 | ||
github.com/alexflint/go-arg v1.4.2 | ||
github.com/bmatcuk/doublestar/v4 v4.6.1 | ||
github.com/bradleyjkemp/cupaloy/v2 v2.6.0 | ||
github.com/google/uuid v1.6.0 | ||
github.com/gorilla/websocket v1.5.0 | ||
github.com/stretchr/testify v1.9.0 | ||
github.com/vektah/gqlparser/v2 v2.5.16 | ||
golang.org/x/tools v0.18.0 | ||
github.com/vektah/gqlparser/v2 v2.5.19 | ||
golang.org/x/tools v0.24.0 | ||
gopkg.in/yaml.v2 v2.4.0 | ||
) | ||
|
||
require ( | ||
github.com/agnivade/levenshtein v1.1.1 // indirect | ||
github.com/alexflint/go-scalar v1.0.0 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/go-viper/mapstructure/v2 v2.2.1 // indirect | ||
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect | ||
github.com/mitchellh/mapstructure v1.5.0 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/sosodev/duration v1.2.0 // indirect | ||
golang.org/x/mod v0.15.0 // indirect | ||
github.com/sosodev/duration v1.3.1 // indirect | ||
golang.org/x/mod v0.20.0 // indirect | ||
golang.org/x/sync v0.8.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.