0
0
Fork 0
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:
David Anson 2021-01-13 14:29:36 -08:00
parent aab8166ea1
commit 2c0605ee91
3 changed files with 13 additions and 2 deletions

View file

@ -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

View file

@ -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
View file

@ -0,0 +1,6 @@
# File with Markdown issues
Text text text.
Text text text.