mirror of
https://github.com/DavidAnson/markdownlint-cli2-action.git
synced 2024-11-21 22:01:30 +01:00
Update dependencies: actions/checkout to v3, actions/setup-node to v3.
This commit is contained in:
parent
0820d56e6c
commit
cdb98c25d5
2 changed files with 10 additions and 10 deletions
2
.github/workflows/example.yml
vendored
2
.github/workflows/example.yml
vendored
|
@ -4,7 +4,7 @@ jobs:
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: DavidAnson/markdownlint-cli2-action@v5
|
- uses: DavidAnson/markdownlint-cli2-action@v5
|
||||||
with:
|
with:
|
||||||
globs: |
|
globs: |
|
||||||
|
|
18
.github/workflows/test.yml
vendored
18
.github/workflows/test.yml
vendored
|
@ -10,21 +10,21 @@ jobs:
|
||||||
name: Run test script
|
name: Run test script
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v3
|
||||||
- run: npm install --no-package-lock
|
- run: npm install --no-package-lock
|
||||||
- run: npm run test
|
- run: npm run test
|
||||||
no-globs:
|
no-globs:
|
||||||
name: No globs (README.md, no errors)
|
name: No globs (README.md, no errors)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: ./
|
- uses: ./
|
||||||
one-glob:
|
one-glob:
|
||||||
name: One glob (test/errors.md, errors)
|
name: One glob (test/errors.md, errors)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: ./
|
- uses: ./
|
||||||
with:
|
with:
|
||||||
globs: test/errors.md
|
globs: test/errors.md
|
||||||
|
@ -32,7 +32,7 @@ jobs:
|
||||||
name: Two globs (README.md and test/errors.md, errors)
|
name: Two globs (README.md and test/errors.md, errors)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: ./
|
- uses: ./
|
||||||
with:
|
with:
|
||||||
globs: |
|
globs: |
|
||||||
|
@ -42,7 +42,7 @@ jobs:
|
||||||
name: Command = config (test/errors.md, errors)
|
name: Command = config (test/errors.md, errors)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: ./
|
- uses: ./
|
||||||
with:
|
with:
|
||||||
command: config
|
command: config
|
||||||
|
@ -53,7 +53,7 @@ jobs:
|
||||||
name: Command = config (missing configuration file)
|
name: Command = config (missing configuration file)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: ./
|
- uses: ./
|
||||||
with:
|
with:
|
||||||
command: config
|
command: config
|
||||||
|
@ -61,7 +61,7 @@ jobs:
|
||||||
name: Command = fix (test/errors.md, no errors)
|
name: Command = fix (test/errors.md, no errors)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: ./
|
- uses: ./
|
||||||
with:
|
with:
|
||||||
command: fix
|
command: fix
|
||||||
|
@ -69,7 +69,7 @@ jobs:
|
||||||
name: Command = unsupported (fails)
|
name: Command = unsupported (fails)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: ./
|
- uses: ./
|
||||||
with:
|
with:
|
||||||
command: unsupported
|
command: unsupported
|
||||||
|
|
Loading…
Reference in a new issue