Update check action (#1189)
This commit is contained in:
@@ -1,27 +1,24 @@
|
|||||||
name: check
|
name: Check
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- 'CHANGELOG.md'
|
- 'CHANGELOG.md'
|
||||||
- '.aspell.*.pws'
|
- '.aspell.*.pws'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
markdownlint:
|
markdownlint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Use Node.js 12
|
- uses: DavidAnson/markdownlint-cli2-action@v9
|
||||||
uses: actions/setup-node@v1
|
|
||||||
with:
|
with:
|
||||||
node-version: 12
|
globs: 'CHANGELOG.md'
|
||||||
- name: Run markdownlint linter
|
|
||||||
run: |
|
|
||||||
npm install -g markdownlint-cli
|
|
||||||
markdownlint CHANGELOG.md
|
|
||||||
spellchecker:
|
spellchecker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Setup aspell
|
- name: Setup aspell
|
||||||
run: sudo apt-get -y update && sudo apt-get -y install aspell aspell-en
|
run: sudo apt-get -y update && sudo apt-get -y install aspell aspell-en
|
||||||
- name: Run spellchecker
|
- name: Run spellchecker
|
||||||
|
|||||||
Reference in New Issue
Block a user