mirror of
https://github.com/DavidAnson/markdownlint-cli2-action.git
synced 2024-12-21 12:23:32 +01:00
Add passing/failing file and no/one glob to tests.
This commit is contained in:
parent
aab8166ea1
commit
2c0605ee91
3 changed files with 13 additions and 2 deletions
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
@ -13,5 +13,9 @@ jobs:
|
|||
fail-fast: false
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: No inputs
|
||||
- name: No globs (README.md, no errors)
|
||||
uses: ./
|
||||
- name: One glob (test/error.md, errors)
|
||||
uses: ./
|
||||
with:
|
||||
glob: test/error.md
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# markdownlint-cli2-action
|
||||
|
||||
A GitHub Action to run the markdownlint-cli2 tool for linting Markdown/CommonMark files with the markdownlint library
|
||||
A GitHub Action to run the markdownlint-cli2 tool for linting
|
||||
Markdown/CommonMark files with the markdownlint library
|
||||
|
||||
## Inputs
|
||||
|
||||
|
|
6
test/errors.md
Normal file
6
test/errors.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
# File with Markdown issues
|
||||
|
||||
Text text text.
|
||||
|
||||
|
||||
Text text text.
|
Loading…
Reference in a new issue