fix(ci): use DavidAnson/markdownlint-cli2-action v19.1.0
Some checks failed
Build / build-arm64 (push) Has been cancelled
Build / build-amd64 (push) Has been cancelled
Lint Markdown files / markdown-lint (push) Has been cancelled

This commit is contained in:
2025-10-22 22:19:20 +02:00
parent 5004ee907c
commit d7cbda82e7

View File

@@ -1,46 +1,21 @@
name: Markdown linter
name: 'Lint Markdown files'
on:
pull_request:
paths: [ "**/*.md" ]
types: [ "opened", "reopened", "synchronize" ]
types:
- opened
- reopened
- synchronize
push:
branches:
- '**'
paths: [ "**/*.md" ]
tags-ignore:
- '**'
- master
workflow_dispatch: {}
jobs:
markdown-link-checker:
container:
image: docker.io/library/node:24.10.0-alpine
runs-on:
- ubuntu-latest
steps:
- name: Install tooling
run: |
apk update
apk add git npm
- uses: actions/checkout@v5.0.0
- name: Verify links in markdown files
run: |
npm install
npm run readme:link
markdown-lint:
container:
image: docker.io/library/node:24.10.0-alpine
runs-on:
- ubuntu-latest
runs-on: ubuntu-latest
steps:
- name: Install tooling
run: |
apk update
apk add git
- uses: actions/checkout@v5.0.0
- name: Lint markdown files
run: |
npm install
npm run readme:lint
- uses: DavidAnson/markdownlint-cli2-action@v19.1.0
with:
globs: '**/*.md'