-
|
I just found out that golanglint-ci can't run while another instance of it is already running for some reason. My solution was to combine my linting and formatting task into one "meta" task and run them serially. lintFormat {
deps { "lint" "format" }
options { runDepsInParallel = false }
}Is there a better way? Is there some sort of locking feature or something where they'll run only if the other one isn't already running, like format {
script = "goalnglint-ci ...."
lock = "LINT_FORMAT"
// ...
}
lint {
script = "goalnglint-ci ...."
lock = "LINT_FORMAT"
// ...
} |
Beta Was this translation helpful? Give feedback.
Answered by
milesj
Oct 7, 2025
Replies: 1 comment
-
|
@zelifish This is exactly what task mutexes are for! https://moonrepo.dev/docs/config/project#mutex |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zelifish
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@zelifish This is exactly what task mutexes are for! https://moonrepo.dev/docs/config/project#mutex