Update check action (#1189)

This commit is contained in:
Semyon Bezrukov
2023-02-02 11:06:48 +03:00
committed by GitHub
parent 0ef46d7f81
commit a9f9e1fbe7
+7 -10
View File
@@ -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