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

Document / Improve - Go monorepo #29

Open
felickz opened this issue Feb 10, 2025 · 1 comment
Open

Document / Improve - Go monorepo #29

felickz opened this issue Feb 10, 2025 · 1 comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed

Comments

@felickz
Copy link
Contributor

felickz commented Feb 10, 2025

Today Go does not support a paths / paths-ignore based setup with CodeQL (until it supports build-mode: none).

Document a sample of how to best work with this action in a Golang monorepo. Identify improvements to this action/product!

@felickz felickz added documentation Improvements or additions to documentation help wanted Extra attention is needed labels Feb 10, 2025
@aegilops
Copy link
Collaborator

As long as Go ignores the paths/paths-ignore then having a sparse checkout might be enough for autobuild to function OK?

If not (I'm not sure how it works with nested folders?) for now you'll need to go down the manual build mode approach, and trigger Go with a manual build command.

We can explore how to better support examples such as a wholly Go-based monorepo and a wholly C# monorepo, to be able to get a more completely automatic default that works in those cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants