mirror of
https://github.com/DavidAnson/markdownlint-cli2-action.git
synced 2024-12-26 23:03:32 +01:00
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
parent
818e305637
commit
b5f84f73fb
4 changed files with 18 additions and 18 deletions
2
.github/workflows/changed.yml
vendored
2
.github/workflows/changed.yml
vendored
|
@ -4,7 +4,7 @@ jobs:
|
|||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: tj-actions/changed-files@v39
|
||||
|
|
4
.github/workflows/checkers.yml
vendored
4
.github/workflows/checkers.yml
vendored
|
@ -12,7 +12,7 @@ jobs:
|
|||
linkcheck:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: JustinBeckwith/linkinator-action@v1.10.4
|
||||
with:
|
||||
paths: '*.md'
|
||||
|
@ -21,7 +21,7 @@ jobs:
|
|||
spellcheck:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: tbroadley/spellchecker-cli-action@v1
|
||||
with:
|
||||
dictionaries: '.github/dictionary.txt'
|
||||
|
|
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@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: DavidAnson/markdownlint-cli2-action@v12
|
||||
with:
|
||||
globs: |
|
||||
|
|
28
.github/workflows/test.yml
vendored
28
.github/workflows/test.yml
vendored
|
@ -10,7 +10,7 @@ jobs:
|
|||
name: Run test script
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v3
|
||||
- run: npm install
|
||||
- run: npm run test
|
||||
|
@ -18,13 +18,13 @@ jobs:
|
|||
name: No globs (README.md, 0 errors)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./
|
||||
one-glob-file:
|
||||
name: One glob (test/errors.md, 3 errors)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./
|
||||
with:
|
||||
globs: test/errors.md
|
||||
|
@ -36,7 +36,7 @@ jobs:
|
|||
name: One glob (README.md, 0 errors)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./
|
||||
with:
|
||||
globs: '*.md'
|
||||
|
@ -44,7 +44,7 @@ jobs:
|
|||
name: Two globs (README.md and test/errors.md, 3 errors)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./
|
||||
with:
|
||||
globs: |
|
||||
|
@ -58,7 +58,7 @@ jobs:
|
|||
name: Separator (README.md and test/errors.md, 3 errors)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./
|
||||
with:
|
||||
globs: '*.md,test/*'
|
||||
|
@ -71,7 +71,7 @@ jobs:
|
|||
name: Command = config (test/errors.md, 2 errors)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- run: rm .markdownlint.json
|
||||
- uses: ./
|
||||
with:
|
||||
|
@ -87,7 +87,7 @@ jobs:
|
|||
name: Command = config (invalid configuration file, fails)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./
|
||||
with:
|
||||
command: config
|
||||
|
@ -102,7 +102,7 @@ jobs:
|
|||
name: Command = config (missing configuration file, fails)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./
|
||||
with:
|
||||
command: config
|
||||
|
@ -114,7 +114,7 @@ jobs:
|
|||
name: Command = fix (test/errors.md, 0 errors)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./
|
||||
with:
|
||||
command: fix
|
||||
|
@ -123,7 +123,7 @@ jobs:
|
|||
name: Command = unsupported (fails)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./
|
||||
with:
|
||||
command: unsupported
|
||||
|
@ -135,7 +135,7 @@ jobs:
|
|||
name: config (test/errors.md, 2 errors)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- run: rm .markdownlint.json
|
||||
- uses: ./
|
||||
with:
|
||||
|
@ -149,7 +149,7 @@ jobs:
|
|||
name: config (invalid configuration file, fails)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./
|
||||
with:
|
||||
config: 'invalid.markdownlint.jsonc'
|
||||
|
@ -162,7 +162,7 @@ jobs:
|
|||
name: fix (test/errors.md, 0 errors)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./
|
||||
with:
|
||||
fix: true
|
||||
|
|
Loading…
Reference in a new issue