diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index acd93fe..7bb15a0 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -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