Skip to content

TESTING - basic QA / add spellcheck #25

TESTING - basic QA / add spellcheck

TESTING - basic QA / add spellcheck #25

Workflow file for this run

name: CS
on:
# Run on all pushes and on all pull requests.
push:
pull_request:
# Allow manually triggering the workflow.
workflow_dispatch:
# Do NOT cancels all previous workflow runs for the same branch that have not yet completed.
concurrency:
# The concurrency group contains the workflow name and the branch name.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
markdownlint:
name: 'Lint Markdown'
uses: PHPCSStandards/.github/.github/workflows/reusable-markdownlint.yml@main
yamllint:
name: 'Lint Yaml'
uses: PHPCSStandards/.github/.github/workflows/reusable-yamllint.yml@main
with:
strict: true
spellcheck-1:
name: Spellcheck-1
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Spellcheck
uses: rojopolis/spellcheck-github-actions@v0
spellcheck-2:
name: Spellcheck-2
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install markdown-spellcheck
run: npm install -g markdown-spellcheck
- name: Spellcheck
run: mdspell "**/*.md" --en-us --report
spellcheck-3:
name: Spellcheck-3
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install markdown-spellcheck
run: npm install -g cspell
- name: Spellcheck
uses: cspell "**/*.md"