2023-10-02 10:43:46 +01:00
|
|
|
when:
|
|
|
|
branch: master
|
2022-06-27 09:47:14 +01:00
|
|
|
|
2023-10-02 10:43:46 +01:00
|
|
|
# NOTE: codespell not available on stable alpine, grab it from pip
|
|
|
|
steps:
|
2022-06-27 09:47:14 +01:00
|
|
|
spell-check:
|
|
|
|
image: alpine:edge
|
|
|
|
commands: |
|
2023-01-12 04:52:28 +00:00
|
|
|
apk add --no-cache python3 py3-pip git
|
2023-10-02 10:43:46 +01:00
|
|
|
python3 -m venv ~/py3-venv
|
|
|
|
. ~/py3-venv/bin/activate
|
2023-01-12 04:52:28 +00:00
|
|
|
pip install codespell
|
2022-07-27 07:57:50 +01:00
|
|
|
git ls-files | sed '/\.png$/d' | xargs codespell
|