actionlint returns fatal error on run:
script with broken Python code
#411
Labels
bug
Something isn't working
run:
script with broken Python code
#411
Repro
Install pyflakes and run actionlint for the workflow:
Expected behavior
The syntax error in
run:
script should be printed as a lint error reported from actionlint:Actual behavior
actionlint reports a fatal error instead:
Other information
This is because pyflakes usually reports the lint errors to stdout, but it reports syntax errors to stderr. In addition, the syntax errors are reported with multiple lines but actionlint assumes that every error from pyflakes is reported in a single line. The error output parser needs to be updated as well.
The text was updated successfully, but these errors were encountered: