add markdownlint to CI
This commit is contained in:
parent
a4a3667e92
commit
4f077f5c62
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue