Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: automatic module directories#1315

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ldez merged 8 commits intogolangci:mainfromldez:feat/automatic-module-directories
Nov 21, 2025

Conversation

@ldez
Copy link
Member

@ldezldez commentedNov 21, 2025
edited
Loading

Adds an experimental option (experimental: "automatic-module-directories") to automatically detect the modules inside mono-repos.

The launches of the run are not in parallel because this would create a real mess in the logs.
The GitHub Action jobs are not made to run in parallel outside the matrix system.

This is an experimental feature because I don't know the performance of NodeJS to walk the directory tree to detectgo.mod files.

If the performances are not good enough, another possibility is to create an option (module-directories) to define the directories.
But actions don't support arrays as inputs, so it will be a comma-separated string.
In this case, because it will be challenging to have something portable on all operating systems,
the users will have to manually define the module directories or use something external (ex,find . -name go.mod -exec readlink -f {} \; | xargs -I{} dirname {} | paste -sd,)

Related to#1226
Related to#74

@ldezldez added enhancementNew feature or request area: experimental labelsNov 21, 2025
@ldezldez merged commite7fa5ac intogolangci:mainNov 21, 2025
63 checks passed
@ldezldez deleted the feat/automatic-module-directories branchNovember 21, 2025 15:03
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

area: experimentalenhancementNew feature or request

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@ldez

[8]ページ先頭

©2009-2025 Movatter.jp