Skip to content

Conversation

miparnisari
Copy link

@cschleiden
Copy link
Owner

Oh, I did not know about https://golangci-lint.run/plugins/module-plugins/ 👀

Comment on lines -6 to -13
- goworkflows

linters-settings:
custom:
goworkflows:
path: ./plugin.so
description: go-workflows
original-url: github.com/cschleiden/go-workflows/analyzer
Copy link
Author

Choose a reason for hiding this comment

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

Not sure why you would use your own linter in your own project 😅

Copy link
Owner

Choose a reason for hiding this comment

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

The repo does contain workflows, like all the different samples and I want to run the linter on those.

Copy link
Author

Choose a reason for hiding this comment

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

Oh, ok. I can bring it back. Or maybe we can write a unit test that runs the analyzer programmatically?

Copy link
Owner

Choose a reason for hiding this comment

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

Are there any blockers to running this like it used to with the modules approach? I liked that because it made it easy to dogfood when working on samples and to see how it felt

@miparnisari miparnisari marked this pull request as ready for review July 30, 2025 00:35
@miparnisari miparnisari changed the title [DO NOT MERGE] upgrade to linter v2 upgrade to golangci-lint v2 Jul 30, 2025
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.

2 participants