0
0
Fork 0
mirror of https://github.com/DavidAnson/markdownlint-cli2-action.git synced 2024-11-21 13:51:28 +01:00

Update documentation and example to reference @v5.

This commit is contained in:
David Anson 2022-01-22 15:43:47 -08:00
parent 014c740f99
commit 607aa65024
2 changed files with 5 additions and 5 deletions

View file

@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: DavidAnson/markdownlint-cli2-action@v4
- uses: DavidAnson/markdownlint-cli2-action@v5
with:
globs: |
*.md

View file

@ -31,13 +31,13 @@ For more detail, read about [glob syntax in `markdownlint-cli2`][glob-syntax].
To lint Markdown files in the base directory of a project:
```yaml
- uses: DavidAnson/markdownlint-cli2-action@v4
- uses: DavidAnson/markdownlint-cli2-action@v5
```
To lint all Markdown files in a project:
```yaml
- uses: DavidAnson/markdownlint-cli2-action@v4
- uses: DavidAnson/markdownlint-cli2-action@v5
with:
globs: "**/*.md"
```
@ -45,7 +45,7 @@ To lint all Markdown files in a project:
To lint specific Markdown files in a project:
```yaml
- uses: DavidAnson/markdownlint-cli2-action@v4
- uses: DavidAnson/markdownlint-cli2-action@v5
with:
globs: |
README.md
@ -56,7 +56,7 @@ To lint specific Markdown files in a project:
To prevent linting issues from failing the workflow run:
```yaml
- uses: DavidAnson/markdownlint-cli2-action@v4
- uses: DavidAnson/markdownlint-cli2-action@v5
continue-on-error: true
```