mirror of
https://github.com/DavidAnson/markdownlint-cli2-action.git
synced 2026-07-11 12:00:53 +02:00
Remove "command" input deprecated in v11.
This commit is contained in:
@@ -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