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

adds tests for specific go versions #1043

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

chavacava
Copy link
Collaborator

@chavacava chavacava commented Sep 19, 2024

Reorganizes testing infrastructure to enable testing rules under different go versions.
Now, testdata folder is organized by go version:

  • At its root we find test files applicable for go versions >= 1.0
  • Under go1.21, files for go version >= 1.21
  • Under go1.22, files for go version >= 1.22

This PR will make possible updating revive go version to 1.23 and keep test passing.

@chavacava chavacava merged commit a65fb8d into mgechev:master Sep 20, 2024
8 checks passed
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.

1 participant