jmfayard
10/12/2022, 12:39 PMbrew install actionlint
is a static analyser of GitHub workflows
and could be incredibly help to test that the workflow we generate are actually valid
cc @Piotr Krzemiński
https://github.com/rhysd/actionlintPiotr Krzemiński
10/13/2022, 7:03 AMjmfayard
10/13/2022, 7:16 AMjmfayard
10/13/2022, 7:17 AMI’m wondering what this tool uses as a reference point to tell if the workflow YAML is valid.My guess is that they painfully reviewed the github documentation and tried to write the sanity checker that Github didn’t bother to write.
jmfayard
10/13/2022, 7:18 AMactionlint
as a replacement of github-workflow.kt
My idea was that we can validate the yaml workflow produced by our integration test with it.
Probably not perfect.
Probably a much faster iteration loop than running everything on GitHub ActionPiotr Krzemiński
10/13/2022, 7:19 AMjmfayard
10/13/2022, 7:21 AMPiotr Krzemiński
10/13/2022, 7:28 AMPiotr Krzemiński
10/13/2022, 7:29 AMjmfayard
10/13/2022, 7:29 AMPiotr Krzemiński
10/13/2022, 7:29 AMjmfayard
10/13/2022, 7:30 AMjmfayard
10/13/2022, 7:31 AMactionlint
which we can keep optional
some full fledged workflows being run on GitHub Actions as the ultimate proof of life the universe and eerythingPiotr Krzemiński
10/13/2022, 7:31 AMPiotr Krzemiński
10/13/2022, 7:39 AMPiotr Krzemiński
10/13/2022, 7:39 AMPiotr Krzemiński
10/13/2022, 7:39 AMPiotr Krzemiński
10/13/2022, 7:50 AMjmfayard
10/13/2022, 7:55 AM