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

Add Windows-based linting CI job #112

Open
atc0005 opened this issue May 18, 2023 · 0 comments
Open

Add Windows-based linting CI job #112

atc0005 opened this issue May 18, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request linting windows

Comments

@atc0005
Copy link
Owner

atc0005 commented May 18, 2023

Some projects uses build constraints to limit builds to either of Windows or Linux OSes. Linting and building of Go projects using a Linux distro is already covered.

While modifying a project today the revive linter flagged a source file with Windows build constraints with issues that were not exposed by linting workflows that execute under an Ubuntu OS.

To help catch those cases I'll need to execute at least linting tasks within a Windows environment also. While I could build a Windows-based container for this work (and might still at some point), it may be easier to setup a job that uses a Windows-based runner environment and the golangci-lint GitHub Action.

@atc0005 atc0005 added enhancement New feature or request linting windows labels May 18, 2023
@atc0005 atc0005 self-assigned this May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request linting windows
Projects
None yet
Development

No branches or pull requests

1 participant