ci: combine lint tasks #126

Closed
norm wants to merge 1 commits from ci/combine-lints into main
Owner

This allows for per-package lints to not require separate yarn install
steps.

The use of status: [ success, failure ] ensures that each step can run
even if the previous one failed.

Resolves #123

This allows for per-package lints to not require separate `yarn install` steps. The use of `status: [ success, failure ]` ensures that each step can run even if the previous one failed. Resolves https://akkoma.dev/FoundKeyGang/FoundKey/issues/123
Owner

A potentially better approach would be to cache yarn's cache dir + node_modules. That way we could have separate lints per thing (making them more useful) but not incur the perf penalty.

A potentially better approach would be to cache yarn's cache dir + node_modules. That way we could have separate lints per thing (making them more useful) but not incur the perf penalty.
norm force-pushed ci/combine-lints from 9653be8922 to b9d209be2a 2022-09-08 00:51:27 +00:00 Compare
Author
Owner

How would that be done?

How would that be done?
Owner

Even if the other lints are run on failure of previous lints, it would be nice to have separate indicators for each of the lints. Because seeing which of the lints failed was the reason to separate them in the first place. This kinda makes it difficult if you have to scroll through all the existing lints to see if another module has new ones.

Ideally we would have a kind of "forking" workflow but I think I asked & searched for that before and it does not seem to be possible.

Even if the other lints are run on failure of previous lints, it would be nice to have separate indicators for each of the lints. Because seeing which of the lints failed was the reason to separate them in the first place. This kinda makes it difficult if you have to scroll through all the existing lints to see if another module has new ones. Ideally we would have a kind of "forking" workflow but I think I asked & searched for that before and it does not seem to be possible.
Author
Owner

Closing this as this doesn't seem to be the approach we'd want to take. Discussion is being continued in #123.

Closing this as this doesn't seem to be the approach we'd want to take. Discussion is being continued in https://akkoma.dev/FoundKeyGang/FoundKey/issues/123.
norm closed this pull request 2022-09-08 20:51:16 +00:00
norm deleted branch ci/combine-lints 2022-09-08 20:51:25 +00:00
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint Pipeline failed
ci/woodpecker/pr/test Pipeline failed

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
feature
fix
upkeep
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: FoundKeyGang/FoundKey#126
No description provided.