Skip to content

Commit

Permalink
Merge pull request #577 from PHPCSStandards/feature/ghactions-update-…
Browse files Browse the repository at this point in the history
…markdownlint

GH Actions: update markdown lint workflow
  • Loading branch information
jrfnl committed Apr 4, 2024
2 parents 1c913e4 + 12fb8a4 commit 57f948b
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/basics.yml
Expand Up @@ -118,24 +118,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

# This action also handles the caching of the dependencies.
# https://github.com/actions/setup-node
- name: Set up node and enable caching of dependencies
uses: actions/setup-node@v4
with:
node-version: '16'

# @link https://github.com/DavidAnson/markdownlint-cli2
# @link https://github.com/DavidAnson/markdownlint
- name: Install Markdownlint CLI2
run: npm install -g markdownlint-cli2

# @link https://github.com/marketplace/actions/problem-matcher-for-markdownlint-cli
- name: Enable showing issue in PRs
uses: xt0rted/markdownlint-problem-matcher@v3

# @link https://github.com/marketplace/actions/markdownlint-cli2-action
- name: Check markdown with CLI2
run: markdownlint-cli2
uses: DavidAnson/markdownlint-cli2-action@v15

remark:
name: 'QA Markdown'
Expand Down

0 comments on commit 57f948b

Please sign in to comment.