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

Be more lenient about version mismatches #1637

Open
dominikh opened this issue Mar 5, 2025 · 0 comments
Open

Be more lenient about version mismatches #1637

dominikh opened this issue Mar 5, 2025 · 0 comments

Comments

@dominikh
Copy link
Owner

dominikh commented Mar 5, 2025

Currently, the user can experience the following:

module requires at least go1.24.1, but Staticcheck was built with go1.24.0 (compile)

This is needlessly pedantic. Language changes aren't introduced in minor releases of Go, so Staticcheck built with Go 1.24.0 should be able to check any module targeting Go 1.24.x.

The current behavior forces us to make new releases of Staticcheck just so we can rebuild the prebuilt binaries whenever a new minor version of Go is released, even when none of the fixes affect us.

Related: #1636

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant