mirror of
https://codeberg.org/nsxiv/nsxiv
synced 2024-11-15 12:13:10 +00:00
70cbe59daa
- "branches" option got removed, change to "when -> branches" - "pipeline" option got removed, change to "steps" - install codespell in a virtual-env since alpine complains otherwise
14 lines
345 B
YAML
14 lines
345 B
YAML
when:
|
|
branch: master
|
|
|
|
# NOTE: codespell not available on stable alpine, grab it from pip
|
|
steps:
|
|
spell-check:
|
|
image: alpine:edge
|
|
commands: |
|
|
apk add --no-cache python3 py3-pip git
|
|
python3 -m venv ~/py3-venv
|
|
. ~/py3-venv/bin/activate
|
|
pip install codespell
|
|
git ls-files | sed '/\.png$/d' | xargs codespell
|