From df5e41bfe87014dffa695c68b9fb66565e43140a Mon Sep 17 00:00:00 2001 From: David Anson Date: Sat, 20 Feb 2021 19:24:49 -0800 Subject: [PATCH] Update documentation and example to reference @v2. --- .github/workflows/example.yml | 2 +- README.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index 00968d6..a3e0e3c 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -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 diff --git a/README.md b/README.md index 65d85c9..3ee7924 100644 --- a/README.md +++ b/README.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: ```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 ``` @@ -38,7 +38,7 @@ To lint all Markdown files in a project: 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