alidist icon indicating copy to clipboard operation
alidist copied to clipboard

Check alidist recipes using a more thorough linter

Open TimoWilken opened this issue 3 years ago • 0 comments

I've been working on a linter for alidist recipes occasionally (when I've had time between other things). It takes a recipe, feeds the header through yamllint, any scripts through shellcheck, and applies a few checks of its own to make sure the YAML header is valid.

This PR adds a workflow that checks any changed recipes (for PRs) or all recipes (on push) using alidistlint.

It includes all the checks done by the old scripts/lint-recipes, so I'm removing that in this PR. However, I've kept the previous check for circular dependencies, as that's not covered by alidistlint.

TimoWilken avatar Dec 14 '22 15:12 TimoWilken