chore: rename spellchecktest to spellcheck

Signed-off-by: nιcнolaѕ wιlde <ncwilde43@gmail.com>
This commit is contained in:
nιcнolaѕ wιlde
2024-09-01 00:54:56 -07:00
parent c347540d38
commit 826b785719
2 changed files with 10 additions and 41 deletions

View File

@ -1,29 +0,0 @@
---
name: spellcheck
on: # yamllint disable-line rule:truthy
workflow_dispatch:
pull_request:
push:
paths:
- 'docs/**'
- 'mkdocs.**'
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
spellcheck:
runs-on: ubuntu-latest
name: Spellcheck
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Run spellcheck
uses: tbroadley/spellchecker-cli-action@v1
with:
files: "./cook/**/*.cook ./docs/**/*.md"
quiet: false
dictionaries: "./dictionary.txt"

View File

@ -4,12 +4,11 @@ on: # yamllint disable-line rule:truthy
workflow_dispatch:
pull_request:
push:
paths:
- 'docs/**'
- 'mkdocs.**'
branches:
- main
paths:
- 'docs/**/*.md'
- 'cook/**/*.cook'
- 'dictionary.txt'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@ -17,15 +16,14 @@ concurrency:
jobs:
spellcheck:
name: spellcheck
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
name: Spellcheck
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup npm
uses: actions/setup-node@v4
- name: Setup spellchecker
run: npm install spellchecker-cli
- name: Run spellcheck
run: ./scripts/spellcheck.sh
uses: tbroadley/spellchecker-cli-action@v1
with:
files: "./cook/**/*.cook ./docs/**/*.md"
quiet: false
dictionaries: "./dictionary.txt"