mirror of
https://github.com/DavidAnson/markdownlint-cli2-action.git
synced 2024-11-21 13:51:28 +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:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: DavidAnson/markdownlint-cli2-action@v5
|
||||
with:
|
||||
globs: |
|
||||
|
|
18
.github/workflows/test.yml
vendored
18
.github/workflows/test.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue