mirror of
https://github.com/DavidAnson/markdownlint-cli2-action.git
synced 2024-11-22 06:06:23 +01:00
Split workflow jobs so they all run even when one fails (expectedly).
This commit is contained in:
parent
dc22015534
commit
f86b36a138
1 changed files with 17 additions and 12 deletions
27
.github/workflows/test.yml
vendored
27
.github/workflows/test.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: Test
|
name: Test markdownlint-cli2-action
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
@ -6,21 +6,26 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
no-globs:
|
||||||
name: Test markdownlint-cli2-action
|
name: No globs (README.md, no errors)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: No globs (README.md, no errors)
|
- uses: ./
|
||||||
uses: ./
|
one-glob:
|
||||||
- name: One glob (test/error.md, errors)
|
name: One glob (test/errors.md, errors)
|
||||||
uses: ./
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: ./
|
||||||
with:
|
with:
|
||||||
globs: test/errors.md
|
globs: test/errors.md
|
||||||
- name: Two globs (README.md and test/error.md, errors)
|
two-globs:
|
||||||
uses: ./
|
name: Two globs (README.md and test/errors.md, errors)
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: ./
|
||||||
with:
|
with:
|
||||||
globs: |
|
globs: |
|
||||||
*.md
|
*.md
|
||||||
|
|
Loading…
Reference in a new issue