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

Update Go version to 1.21 #543

Merged
merged 5 commits into from
Feb 14, 2024
Merged

Update Go version to 1.21 #543

merged 5 commits into from
Feb 14, 2024

Conversation

calebbrown
Copy link
Contributor

Bump the version of Go to 1.21.

Includes switching to the stdlib version of "slices"

- update go.mod, go.work files
- update workflows
- replace exp slices for std lib

Signed-off-by: Caleb Brown <calebbrown@google.com>
* Add support for FORBIDDEN GraphQL responses and use multi error wrapping.

Handle {type: "FORBIDDEN"} GitHub GraphQL error responses that are returned
when the App based authentication fails to access a repository due to
GitHub org restrictions.

Go 1.21 now supports wrapping multiple errors. This change makes use of
that feature some more too.

Signed-off-by: Caleb Brown <calebbrown@google.com>

* Remove multi-wrapped errors because we're on Go 1.19.

Signed-off-by: Caleb Brown <calebbrown@google.com>

---------

Signed-off-by: Caleb Brown <calebbrown@google.com>
Signed-off-by: Caleb Brown <calebbrown@google.com>
maxfisher-g
maxfisher-g previously approved these changes Feb 14, 2024
cmd/collect_signals/Dockerfile Outdated Show resolved Hide resolved
cmd/criticality_score/Dockerfile Outdated Show resolved Hide resolved
cmd/csv_transfer/Dockerfile Outdated Show resolved Hide resolved
Signed-off-by: Caleb Brown <calebbrown@google.com>
@calebbrown calebbrown merged commit 215898b into main Feb 14, 2024
7 checks passed
@calebbrown calebbrown deleted the go_1_21 branch February 14, 2024 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants