nsxiv/etc/woodpecker/spell.yml
NRK a924fe004d [ci]: fix things (#400)
for the spellcheck issue, the solution was to just bypass the system
package manager and use pip.

and the macos workaround is taken from here:
https://github.com/actions/setup-python/issues/577

Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/400
Reviewed-by: explosion-mental <explosion-mental@noreply.codeberg.org>
2023-01-12 04:52:28 +00:00

11 lines
269 B
YAML

branches: master
# NOTE: codespell not available on stable alpine, use edge
pipeline:
spell-check:
image: alpine:edge
commands: |
apk add --no-cache python3 py3-pip git
pip install codespell
git ls-files | sed '/\.png$/d' | xargs codespell