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