nsxiva924fe0
[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
+4 −2
2 files changed
- M .github/workflows/build.yml +2 −1
- M etc/woodpecker/spell.yml +2 −1
| @@ -42,7 +42,8 @@ jobs: | |||
| 42 | 42 | - name: dep | |
| 43 | 43 | run: | | |
| 44 | 44 | brew update | |
| 45 | − | brew install imlib2 libx11 libxft libexif giflib webp | |
| 45 | + | # see: https://github.com/actions/setup-python/issues/577 | |
| 46 | + | brew install imlib2 libx11 libxft libexif giflib webp || true | |
| 46 | 47 | - name: build | |
| 47 | 48 | run: | | |
| 48 | 49 | # libinotify-kqueue isn't available on homebrew | |
| @@ -5,5 +5,6 @@ pipeline: | |||
| 5 | 5 | spell-check: | |
| 6 | 6 | image: alpine:edge | |
| 7 | 7 | commands: | | |
| 8 | − | apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing py3-codespell git >/dev/null | |
| 8 | + | apk add --no-cache python3 py3-pip git | |
| 9 | + | pip install codespell | |
| 9 | 10 | git ls-files | sed '/\.png$/d' | xargs codespell | |