0
0
Fork 0
mirror of https://github.com/DavidAnson/markdownlint-cli2-action.git synced 2024-12-22 21:03:53 +01:00

Update documentation and example to reference @v2.

This commit is contained in:
David Anson 2021-02-20 19:24:49 -08:00
parent 9b0222c043
commit df5e41bfe8
2 changed files with 4 additions and 4 deletions

View file

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

View file

@ -24,13 +24,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@v1
- uses: DavidAnson/markdownlint-cli2-action@v2
```
To lint all Markdown files in a project:
```yaml
- uses: DavidAnson/markdownlint-cli2-action@v1
- uses: DavidAnson/markdownlint-cli2-action@v2
with:
globs: **/*.md
```
@ -38,7 +38,7 @@ To lint all Markdown files in a project:
To lint specific Markdown files in a project:
```yaml
- uses: DavidAnson/markdownlint-cli2-action@v1
- uses: DavidAnson/markdownlint-cli2-action@v2
with:
globs: |
README.md