-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Is it possible to validate workflows with act, without running them? #2716
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You can use dry run mode of act or use https://github.com/rhysd/actionlint |
I think If you mean the basic schema validation I added last year. |
Thanks for your input! I've tried I need a tool that will validate the github workflows for syntax/schema, so we can catch any issues at pull request time. I did try actionlint, but it has some issues (false positives), so I can't really use it as it is now.. Their repository has over 100 issues opened, but I'm not sure how much activity on it .. |
To comply with the GitHub Action spec we cannot use the strict schema
If the previous v0.2.74 would report your change as error before execution, then I could create an |
Yes, that command will probably do the trick, if implemented. |
Act version
act version 0.2.75
Feature description
Hi there!
First of all, congrats for putting together this awesome tool!
I would like to be able to validate the workflows (for syntax errors) in CI/CD.
Would act allow this?
I checked
act --help
but I could not see any flag for validation or such.thanks!!
The text was updated successfully, but these errors were encountered: