add markdownlint to CI

This commit is contained in:
n 2024-10-03 22:00:57 +02:00
parent a4a3667e92
commit 4f077f5c62
Signed by: n
GPG key ID: 510227DD6C502CE3

View file

@ -12,6 +12,12 @@ jobs:
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Lint Markdown files
uses: actions/markdownlint-cli2-action@v17
with:
globs: |
**/*.md
!vendor/*.md
- name: Install linters using Composer - name: Install linters using Composer
run: | run: |
export COMPOSER_HOME=/tmp export COMPOSER_HOME=/tmp