From 2c0605ee91c1b7add0c75c59d6322df772dc792e Mon Sep 17 00:00:00 2001 From: David Anson Date: Wed, 13 Jan 2021 14:29:36 -0800 Subject: [PATCH] Add passing/failing file and no/one glob to tests. --- .github/workflows/test.yml | 6 +++++- README.md | 3 ++- test/errors.md | 6 ++++++ 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 test/errors.md diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index aa0e726..d536f06 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/README.md b/README.md index cc246eb..5c36aaf 100644 --- a/README.md +++ b/README.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 diff --git a/test/errors.md b/test/errors.md new file mode 100644 index 0000000..ebf634a --- /dev/null +++ b/test/errors.md @@ -0,0 +1,6 @@ +# File with Markdown issues + +Text text text. + + +Text text text. \ No newline at end of file