mirror of
https://github.com/DavidAnson/markdownlint-cli2-action.git
synced 2026-07-03 00:10:51 +02:00
Update dependencies: actions/checkout to v3, actions/setup-node to v3.
This commit is contained in:
@@ -4,7 +4,7 @@ jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: DavidAnson/markdownlint-cli2-action@v5
|
||||
with:
|
||||
globs: |
|
||||
|
||||
@@ -10,21 +10,21 @@ jobs:
|
||||
name: Run test script
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
- run: npm install --no-package-lock
|
||||
- run: npm run test
|
||||
no-globs:
|
||||
name: No globs (README.md, no errors)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./
|
||||
one-glob:
|
||||
name: One glob (test/errors.md, errors)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./
|
||||
with:
|
||||
globs: test/errors.md
|
||||
@@ -32,7 +32,7 @@ jobs:
|
||||
name: Two globs (README.md and test/errors.md, errors)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./
|
||||
with:
|
||||
globs: |
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
name: Command = config (test/errors.md, errors)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./
|
||||
with:
|
||||
command: config
|
||||
@@ -53,7 +53,7 @@ jobs:
|
||||
name: Command = config (missing configuration file)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./
|
||||
with:
|
||||
command: config
|
||||
@@ -61,7 +61,7 @@ jobs:
|
||||
name: Command = fix (test/errors.md, no errors)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./
|
||||
with:
|
||||
command: fix
|
||||
@@ -69,7 +69,7 @@ jobs:
|
||||
name: Command = unsupported (fails)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./
|
||||
with:
|
||||
command: unsupported
|
||||
|
||||
Reference in New Issue
Block a user