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: add GOOS to golangci-lint #592

Merged
merged 2 commits into from
Oct 3, 2023

Conversation

vsiravar
Copy link
Contributor

@vsiravar vsiravar commented Oct 3, 2023

Issue #, if available:
Add GOOS to golangci-lint. Currently the golangci-lint runs on ubuntu.
Description of changes:

  • Change target lint in makefile to run linter for both windows and macOS.

  • Update ci.yaml to lint on macOS and windows github hosted runners.
    Testing done:
    Makefile changes validated.

  • I've reviewed the guidance in CONTRIBUTING.md

License Acceptance

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Vishwas Siravara added 2 commits October 3, 2023 16:16
Signed-off-by: Vishwas Siravara <[email protected]>
Signed-off-by: Vishwas Siravara <[email protected]>
@vsiravar vsiravar requested a review from a team as a code owner October 3, 2023 16:28
Comment on lines +358 to +359
env GOOS=windows golangci-lint run
env GOOS=darwin golangci-lint run
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, I'm going to steal this for my other projects. :)

@vsiravar vsiravar merged commit 19211d0 into runfinch:windev Oct 3, 2023
vsiravar added a commit that referenced this pull request Oct 17, 2023
Issue #, if available:
Add GOOS to golangci-lint. Currently the golangci-lint runs on ubuntu.
*Description of changes:*
- Change target lint in makefile to run linter for both windows and
macOS.
- Update ci.yaml to lint on macOS and windows github hosted runners.
*Testing done:*
Makefile changes validated. 


- [X] I've reviewed the guidance in CONTRIBUTING.md


#### License Acceptance

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.

---------

Signed-off-by: Vishwas Siravara <[email protected]>
Co-authored-by: Vishwas Siravara <[email protected]>
vsiravar added a commit that referenced this pull request Oct 17, 2023
Issue #, if available:
Add GOOS to golangci-lint. Currently the golangci-lint runs on ubuntu.
*Description of changes:*
- Change target lint in makefile to run linter for both windows and
macOS.
- Update ci.yaml to lint on macOS and windows github hosted runners.
*Testing done:*
Makefile changes validated.

- [X] I've reviewed the guidance in CONTRIBUTING.md

#### License Acceptance

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.

---------

Signed-off-by: Vishwas Siravara <[email protected]>
Co-authored-by: Vishwas Siravara <[email protected]>
Signed-off-by: Vishwas Siravara <[email protected]>
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.

4 participants