Skip to content

ci: lint workflow files with actionlint - #892

Open
jessealama wants to merge 2 commits into
leanprover:mainfrom
jessealama:ci/actionlint
Open

ci: lint workflow files with actionlint#892
jessealama wants to merge 2 commits into
leanprover:mainfrom
jessealama:ci/actionlint

Conversation

@jessealama

@jessealama jessealama commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Adds a workflow that runs actionlint over the .github/workflows directory whenever those files change. actionlint checks expression types (used in the little GitHub Action DSL), undefined step/output references and needs/if conditions, and runs shellcheck over every run: shell block and pyflakes over shell: python chunks.

To make sure that adding this workflow does not immediately break the build, I did a manual one-off run and found one thing, which is fixed here: an echo | sed pipeline that is now a parameter expansion.

# Conflicts:
#	.github/workflows/lean_action_ci.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant