0
0
Fork 0
mirror of https://github.com/DavidAnson/markdownlint-cli2-action.git synced 2024-11-21 22:01:30 +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 runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: DavidAnson/markdownlint-cli2-action@v4 - uses: DavidAnson/markdownlint-cli2-action@v5
with: with:
globs: | globs: |
*.md *.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: To lint Markdown files in the base directory of a project:
```yaml ```yaml
- uses: DavidAnson/markdownlint-cli2-action@v4 - uses: DavidAnson/markdownlint-cli2-action@v5
``` ```
To lint all Markdown files in a project: To lint all Markdown files in a project:
```yaml ```yaml
- uses: DavidAnson/markdownlint-cli2-action@v4 - uses: DavidAnson/markdownlint-cli2-action@v5
with: with:
globs: "**/*.md" globs: "**/*.md"
``` ```
@ -45,7 +45,7 @@ To lint all Markdown files in a project:
To lint specific Markdown files in a project: To lint specific Markdown files in a project:
```yaml ```yaml
- uses: DavidAnson/markdownlint-cli2-action@v4 - uses: DavidAnson/markdownlint-cli2-action@v5
with: with:
globs: | globs: |
README.md README.md
@ -56,7 +56,7 @@ To lint specific Markdown files in a project:
To prevent linting issues from failing the workflow run: To prevent linting issues from failing the workflow run:
```yaml ```yaml
- uses: DavidAnson/markdownlint-cli2-action@v4 - uses: DavidAnson/markdownlint-cli2-action@v5
continue-on-error: true continue-on-error: true
``` ```