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

Use gorelease to avoid breaking changes #4398

Closed
pellared opened this issue Aug 2, 2023 · 0 comments · Fixed by #4431
Closed

Use gorelease to avoid breaking changes #4398

pellared opened this issue Aug 2, 2023 · 0 comments · Fixed by #4431
Assignees
Labels
enhancement New feature or request

Comments

@pellared
Copy link
Member

pellared commented Aug 2, 2023

Would it make sense to have tests that will fail if there are any new, modified, or removed exported methods?

Adding test will only add a second place (the interface definitions in the test) where we are not allowed to change anything. I don't see that as very useful.

We could potentially look into using https://pkg.go.dev/golang.org/x/exp/cmd/gorelease to automate all release with a versioning test. It would need more evaluation though.

Originally posted by @MrAlias in #4396 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant