While trying to find a way to nicely validate #172, I came across the actionlint tool. Can be installed via homebrew and from conda-forge - did not know about it before. It's a static checker for GitHub Actions workflow files provided here. Usage is straight forward: from any repo root, you run actionlint and the tool will lint existing workflow files.
When applied on pyiron/actions I get this output:
$ actionlint
.github/workflows/codeql.yml:35:13: the runner of "github/codeql-action/init@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue [action]
|
35 | uses: github/codeql-action/init@v2
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
.github/workflows/codeql.yml:40:13: the runner of "github/codeql-action/analyze@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue [action]
|
40 | uses: github/codeql-action/analyze@v2
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hinting that the the codeql action is outdated.
While trying to find a way to nicely validate #172, I came across the
actionlinttool. Can be installed via homebrew and from conda-forge - did not know about it before. It's a static checker for GitHub Actions workflow files provided here. Usage is straight forward: from any repo root, you runactionlintand the tool will lint existing workflow files.When applied on pyiron/actions I get this output:
hinting that the the
codeqlaction is outdated.