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

ci: run linter on macos-latest #560

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

G-Rath
Copy link
Collaborator

@G-Rath G-Rath commented Mar 13, 2025

Because the linter involves compiling files, it won't lint files that are excluded due to go:build directives, so we really should be running the linter across all three OSs - currently running on Windows works but has a number of errors mostly around imports that I suspect are due to file path and line ending differences, but macOS works fine so we might as well start running on that

@G-Rath
Copy link
Collaborator Author

G-Rath commented Mar 13, 2025

fwiw @another-rex currently I'm not planning on doing this in osv-scanner because we've only got a single OS-based file, and I don't imagine we'll introduce any in the near future, so I don't think it's worth running the linter three times for every change over there

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