docs: fix spelling #1089
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ❄️ Lint | |
on: [pull_request, workflow_dispatch] | |
jobs: | |
markdown: | |
name: 🧹 Markdown Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: 🥝 Use Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: '12.x' | |
- run: npm install -g [email protected] | |
- run: markdownlint '**/*.md' --ignore node_modules | |
misspell: | |
name: 🧹 Check Spelling | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🍉 Check Out | |
uses: actions/checkout@v3 | |
- name: 🥥 Install | |
run: | | |
wget -O - -q https://git.io/misspell | sh -s -- -b . | |
- name: 🥦 Misspell | |
run: | | |
find docs README.md -type f | xargs ./misspell -error -i 'commandbox' | |
yamllint: | |
name: 🧹 YAML Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/[email protected] | |
with: | |
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax | |
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install yamllint | |
- name: 🍇 YAML Lint | |
run: | | |
# return non-zero exit code on warnings | |
yamllint --strict . |