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 to v1.20 #1775

Merged
merged 2 commits into from
Aug 30, 2023
Merged

chore: Update Go to v1.20 #1775

merged 2 commits into from
Aug 30, 2023

Conversation

haines
Copy link
Member

@haines haines commented Aug 30, 2023

Go 1.19 is no longer supported now that 1.21 is out. We already use 1.20 in CI, so this PR updates the version in go.mod and CONTRIBUTING.md to match.

I've also replaced a couple of usages of strings.TrimPrefix followed by a check if the string was actually trimmed with the strings.CutPrefix function introduced in Go 1.20.

Signed-off-by: Andrew Haines <haines@cerbos.dev>
…iate

Signed-off-by: Andrew Haines <haines@cerbos.dev>
@haines haines merged commit cc2d95d into cerbos:main Aug 30, 2023
31 checks passed
@haines haines deleted the go-1.20 branch August 30, 2023 11:07
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