CI: replace Alpine container with Debian-based for misspell-fixer (#869)
Node 20 is deprecated and replaced by Node 24, however the
vlajos/misspell-fixer Alpine 3.15 container (from 2021) is incompatible
with Node 24 due to missing glibc symbols:
Error relocating /__e/node24_alpine/bin/node: pthread_getname_np: symbol not found
Replace it with a Debian 13 base image and install misspell-fixer
directly.
fixes: #868
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Reviewed-by: John Levon <john.levon@nutanix.com>diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index b695357..9826d33 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -75,8 +75,13 @@
make pre-push
spelling:
runs-on: ubuntu-latest
- container: vlajos/misspell-fixer
+ container: debian:13
steps:
- uses: actions/checkout@v4
+ - name: install misspell-fixer
+ run: |
+ apt-get update
+ apt-get install -y git
+ git clone https://github.com/vlajos/misspell-fixer.git /misspell-fixer
- name: run misspell-fixer
run: /misspell-fixer/misspell-fixer -sv .