-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split workflow jobs so they all run even when one fails (expectedly).
- Loading branch information
1 parent
dc22015
commit f86b36a
Showing
1 changed file
with
17 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,32 @@ | ||
name: Test | ||
name: Test markdownlint-cli2-action | ||
|
||
on: | ||
pull_request: | ||
push: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
name: Test markdownlint-cli2-action | ||
no-globs: | ||
name: No globs (README.md, no errors) | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: No globs (README.md, no errors) | ||
uses: ./ | ||
- name: One glob (test/error.md, errors) | ||
uses: ./ | ||
- uses: ./ | ||
one-glob: | ||
name: One glob (test/errors.md, errors) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ./ | ||
with: | ||
globs: test/errors.md | ||
- name: Two globs (README.md and test/error.md, errors) | ||
uses: ./ | ||
two-globs: | ||
name: Two globs (README.md and test/errors.md, errors) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ./ | ||
with: | ||
globs: | | ||
*.md | ||
test/* | ||
test/* |