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

feat: add support for workspaces and external modules in the same repo #199

Merged
merged 17 commits into from
Dec 11, 2023

Conversation

kjuulh
Copy link
Contributor

@kjuulh kjuulh commented Dec 5, 2023

This pr adds a few things:

  1. Go mod support in the same repository
  2. Go workspace support in the same repository

This is because you may want to use the local packages in the repository in case your actions need to depend on your service or library code.

If workspaces exist, we depend on that solely, as that should tell us where all the subpackages are located
Else if a root module exist we add that. As such both are optional.

It should also work under least surprises, that is if it works in ./actions folder, it should work when the final binaries are compiled

Fixes: AURA-1465, AURA-1466

@kjuulh kjuulh requested a review from a team as a code owner December 5, 2023 13:10
@github-actions github-actions bot added the minor label Dec 5, 2023
@kjuulh kjuulh force-pushed the feat/with-local-directory branch 2 times, most recently from 9920762 to 1ef3449 Compare December 5, 2023 13:11
Signed-off-by: Kasper J. Hermansen <contact@kjuulh.io>
Signed-off-by: Kasper J. Hermansen <contact@kjuulh.io>
Signed-off-by: Kasper J. Hermansen <contact@kjuulh.io>
Signed-off-by: Kasper J. Hermansen <contact@kjuulh.io>
Signed-off-by: Kasper J. Hermansen <contact@kjuulh.io>
Signed-off-by: Kasper J. Hermansen <contact@kjuulh.io>
Signed-off-by: Kasper J. Hermansen <contact@kjuulh.io>
kjuulh and others added 9 commits December 7, 2023 15:17
Signed-off-by: Kasper J. Hermansen <contact@kjuulh.io>
Signed-off-by: Kasper J. Hermansen <contact@kjuulh.io>
Signed-off-by: Kasper J. Hermansen <contact@kjuulh.io>
Signed-off-by: Kasper J. Hermansen <contact@kjuulh.io>
Signed-off-by: Kasper J. Hermansen <contact@kjuulh.io>
Signed-off-by: Kasper J. Hermansen <contact@kjuulh.io>
Signed-off-by: Kasper J. Hermansen <contact@kjuulh.io>
Signed-off-by: Kasper J. Hermansen <contact@kjuulh.io>
Signed-off-by: Kasper J. Hermansen <contact@kjuulh.io>
Copy link
Member

@mahlunar mahlunar left a comment

Choose a reason for hiding this comment

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

Small typo. Looks great!

pkg/executors/golang/codegen/patch_finder.go Outdated Show resolved Hide resolved
Signed-off-by: Kasper J. Hermansen <contact@kjuulh.io>
@kjuulh kjuulh requested a review from mahlunar December 11, 2023 08:35
@kjuulh kjuulh enabled auto-merge (squash) December 11, 2023 08:36
@kjuulh kjuulh merged commit bc03e8b into master Dec 11, 2023
2 checks passed
@kjuulh kjuulh deleted the feat/with-local-directory branch December 11, 2023 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants