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 @v4.
This commit is contained in:
parent
290acf1afb
commit
75ca8bd12c
2 changed files with 4 additions and 4 deletions
2
.github/workflows/example.yml
vendored
2
.github/workflows/example.yml
vendored
|
@ -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@v3
|
- uses: DavidAnson/markdownlint-cli2-action@v4
|
||||||
with:
|
with:
|
||||||
globs: |
|
globs: |
|
||||||
*.md
|
*.md
|
||||||
|
|
|
@ -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:
|
To lint Markdown files in the base directory of a project:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: DavidAnson/markdownlint-cli2-action@v3
|
- uses: DavidAnson/markdownlint-cli2-action@v4
|
||||||
```
|
```
|
||||||
|
|
||||||
To lint all Markdown files in a project:
|
To lint all Markdown files in a project:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: DavidAnson/markdownlint-cli2-action@v3
|
- uses: DavidAnson/markdownlint-cli2-action@v4
|
||||||
with:
|
with:
|
||||||
globs: **/*.md
|
globs: **/*.md
|
||||||
```
|
```
|
||||||
|
@ -38,7 +38,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@v3
|
- uses: DavidAnson/markdownlint-cli2-action@v4
|
||||||
with:
|
with:
|
||||||
globs: |
|
globs: |
|
||||||
README.md
|
README.md
|
||||||
|
|
Loading…
Reference in a new issue