Krolyxon
Commit a924fe0

Branches

Refs →

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
Author
NRK
Date
2023-01-12 04:52 +0000
Parent
34d4295
Commit
a924fe004df5e27fb0e35396e6a785f2d0c6fcf6

+4 −2

2 files changed

  1. M .github/workflows/build.yml +2 −1
  2. M etc/woodpecker/spell.yml +2 −1
M .github/workflows/build.yml View
@@ -42,7 +42,8 @@ jobs:
4242 - name: dep
4343 run: |
4444 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
4647 - name: build
4748 run: |
4849 # libinotify-kqueue isn't available on homebrew
M etc/woodpecker/spell.yml View
@@ -5,5 +5,6 @@ pipeline:
55 spell-check:
66 image: alpine:edge
77 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
910 git ls-files | sed '/\.png$/d' | xargs codespell