mirror of
https://github.com/DavidAnson/markdownlint-cli2-action.git
synced 2026-11-14 01:33:54 +01:00
Remove "command" input deprecated in v11.
This commit is contained in:
1 parent
b1a3c7b349
commit
1e5b6609c9
6 files changed
+24
-147
No files matched your search
@@ -69,70 +69,6 @@ jobs:
|
||||
id: test
|
||||
- run: exit 1
|
||||
if: steps.test.outcome != 'failure'
|
||||
command-config:
|
||||
name: Command = config (test/errors.md, 2 errors)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: rm .markdownlint.json
|
||||
- uses: ./
|
||||
with:
|
||||
command: config
|
||||
globs: |
|
||||
config/test.markdownlint.jsonc
|
||||
test/*
|
||||
continue-on-error: true
|
||||
id: test
|
||||
- run: exit 1
|
||||
if: steps.test.outcome != 'failure'
|
||||
command-config-invalid:
|
||||
name: Command = config (invalid configuration file, fails)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./
|
||||
with:
|
||||
command: config
|
||||
globs: |
|
||||
invalid.markdownlint.jsonc
|
||||
test/*
|
||||
continue-on-error: true
|
||||
id: test
|
||||
- run: exit 1
|
||||
if: steps.test.outcome != 'failure'
|
||||
command-config-missing:
|
||||
name: Command = config (missing configuration file, fails)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./
|
||||
with:
|
||||
command: config
|
||||
continue-on-error: true
|
||||
id: test
|
||||
- run: exit 1
|
||||
if: steps.test.outcome != 'failure'
|
||||
command-fix:
|
||||
name: Command = fix (test/errors.md, 0 errors)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./
|
||||
with:
|
||||
command: fix
|
||||
globs: 'test/*'
|
||||
command-unsupported:
|
||||
name: Command = unsupported (fails)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./
|
||||
with:
|
||||
command: unsupported
|
||||
continue-on-error: true
|
||||
id: test
|
||||
- run: exit 1
|
||||
if: steps.test.outcome != 'failure'
|
||||
config:
|
||||
name: config (test/errors.md, 2 errors)
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in new issue
Block a user