nox: add actionlint to lint Github Actions workflows

This PR integrates [actionlint](https://github.com/rhysd/actionlint)
into our CI pipeline to check our Github Actions for best practices and
common errors.
This commit is contained in:
Maxwell G
2024-09-09 16:42:58 -05:00
parent 7138e42716
commit 107a3c4383
3 changed files with 56 additions and 0 deletions

View File

@@ -79,6 +79,11 @@ The `nox` configuration also contains session to run automated docs checkers.
nox -s lint
```
The `actionlint` linter that is run as part of the `lint` session requires
`podman` or `docker` to be installed.
If both container engines are installed, `podman` is preferred.
Set `CONTAINER_ENGINE=docker` to change this behavior.
### Checking spelling
Use [`codespell`](https://github.com/codespell-project/codespell) to check for common spelling mistakes in the documentation source.