Skip to content

Commit

Permalink
Update documentation and example to reference @v2.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidAnson committed Feb 21, 2021
1 parent 9b0222c commit df5e41b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,21 @@ 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
```
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
Expand Down

0 comments on commit df5e41b

Please sign in to comment.