Skip to content

Refactor logging, rules, and improve GitHub Actions workflows #339

Refactor logging, rules, and improve GitHub Actions workflows

Refactor logging, rules, and improve GitHub Actions workflows #339

Workflow file for this run

name: Spell Check
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
spellcheck:
runs-on: ubuntu-latest
steps:
# Checkout the branch that triggered the workflow
- name: Checkout branch
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
# Setup Node 22+ for cspell
- name: Setup Node
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: '22'
# Install cspell globally
- name: Install cspell
run: npm install -g cspell@10.0.1
# Run spell check
- name: Run cspell
run: npx cspell --no-progress --no-summary --config .github/cspell/cspell.json "**"