Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update go.mod for gen_github_action_config script #3300

Merged
merged 2 commits into from Oct 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 11 additions & 4 deletions scripts/gen_github_action_config/go.mod
@@ -1,9 +1,16 @@
module github.com/golangci/golangci-lint/scripts/gen_github_action_config

go 1.16
go 1.18

require (
github.com/shurcooL/githubv4 v0.0.0-20200627185320-e003124d66e4
github.com/shurcooL/graphql v0.0.0-20181231061246-d48a9a75455f // indirect
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
github.com/shurcooL/githubv4 v0.0.0-20220922232305-70b4d362a8cb
golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783
)

require (
github.com/golang/protobuf v1.5.2 // indirect
github.com/shurcooL/graphql v0.0.0-20220606043923-3cf50f8a0a29 // indirect
golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.28.0 // indirect
)
42 changes: 26 additions & 16 deletions scripts/gen_github_action_config/go.sum

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

2 changes: 1 addition & 1 deletion scripts/gen_github_action_config/main.go
Expand Up @@ -211,7 +211,7 @@ func fetchAllReleases(ctx context.Context) ([]release, error) {
EndCursor githubv4.String
HasNextPage bool
}
} `graphql:"releases(first: 100, after: $releasesCursor)"`
} `graphql:"releases(first: 100, orderBy: { field: CREATED_AT, direction: DESC }, after: $releasesCursor)"`
} `graphql:"repository(owner: $owner, name: $name)"`
}

Expand Down