mirror of
https://github.com/DavidAnson/markdownlint-cli2-action.git
synced 2026-07-19 07:12:51 +02:00
Move .markdownlint.jsonc file to avoid interfering with action tests.
This commit is contained in:
@@ -15,13 +15,13 @@ jobs:
|
||||
- run: npm install --no-package-lock
|
||||
- run: npm run test
|
||||
no-globs:
|
||||
name: No globs (README.md, no errors)
|
||||
name: No globs (README.md, 0 errors)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./
|
||||
one-glob:
|
||||
name: One glob (test/errors.md, errors)
|
||||
name: One glob (test/errors.md, 3 errors)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@@ -29,7 +29,7 @@ jobs:
|
||||
with:
|
||||
globs: test/errors.md
|
||||
two-globs:
|
||||
name: Two globs (README.md and test/errors.md, errors)
|
||||
name: Two globs (README.md and test/errors.md, 3 errors)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
*.md
|
||||
test/*
|
||||
command-config:
|
||||
name: Command = config (test/errors.md, errors)
|
||||
name: Command = config (test/errors.md, 2 errors)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@@ -50,7 +50,7 @@ jobs:
|
||||
config/.markdownlint.jsonc
|
||||
test/*
|
||||
command-config-missing:
|
||||
name: Command = config (missing configuration file)
|
||||
name: Command = config (missing configuration file, fails)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@@ -58,7 +58,7 @@ jobs:
|
||||
with:
|
||||
command: config
|
||||
command-fix:
|
||||
name: Command = fix (test/errors.md, no errors)
|
||||
name: Command = fix (test/errors.md, 0 errors)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
Reference in New Issue
Block a user