0
0
Fork 0
mirror of https://github.com/DavidAnson/markdownlint-cli2-action.git synced 2024-11-22 06:06:23 +01:00

Update dependencies: actions/checkout to v3, actions/setup-node to v3.

This commit is contained in:
David Anson 2022-07-21 22:30:51 -07:00
parent 0820d56e6c
commit cdb98c25d5
2 changed files with 10 additions and 10 deletions

View file

@ -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: |

View file

@ -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