Files
howtos/.gitea/workflows/ci.yml
user 0a574734f4
Some checks failed
ci / link-check (push) Successful in 16s
ci / lint (push) Failing after 26s
fix: use node:22-alpine for lint job
markdownlint-cli2 image runs as non-root, blocking apk install.
Use node-alpine base with npx instead.
2026-02-22 07:38:47 +01:00

31 lines
823 B
YAML

name: ci
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
lint:
runs-on: linux
container: node:22-alpine
steps:
- run: apk add --no-cache git
- run: |
git clone --depth 1 \
-c "http.extraHeader=Authorization: token ${{ github.token }}" \
"${{ github.server_url }}/${{ github.repository }}.git" .
- run: npx markdownlint-cli2 "**/*.md"
link-check:
runs-on: linux
container: python:3.12-slim
steps:
- run: apt-get update -qq && apt-get install -y -qq git > /dev/null
- run: |
git clone --depth 1 \
-c "http.extraHeader=Authorization: token ${{ github.token }}" \
"${{ github.server_url }}/${{ github.repository }}.git" .
- run: python3 scripts/check-links.py