From a924fe004df5e27fb0e35396e6a785f2d0c6fcf6 Mon Sep 17 00:00:00 2001 From: NRK Date: Thu, 12 Jan 2023 04:52:28 +0000 Subject: [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 --- etc/woodpecker/spell.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'etc/woodpecker') diff --git a/etc/woodpecker/spell.yml b/etc/woodpecker/spell.yml index a184092..a6b71d8 100644 --- a/etc/woodpecker/spell.yml +++ b/etc/woodpecker/spell.yml @@ -5,5 +5,6 @@ pipeline: spell-check: image: alpine:edge commands: | - apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing py3-codespell git >/dev/null + apk add --no-cache python3 py3-pip git + pip install codespell git ls-files | sed '/\.png$/d' | xargs codespell -- cgit v1.2.3-54-g00ecf