mirror of
https://github.com/nicholaswilde/recipes.git
synced 2026-02-04 14:25:23 +00:00
chore: rename spellchecktest to spellcheck
Signed-off-by: nιcнolaѕ wιlde <ncwilde43@gmail.com>
This commit is contained in:
29
.github/workflows/spelcheck.yaml
vendored
29
.github/workflows/spelcheck.yaml
vendored
@ -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"
|
||||
22
.github/workflows/spellcheck.yaml
vendored
22
.github/workflows/spellcheck.yaml
vendored
@ -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"
|
||||
|
||||
Reference in New Issue
Block a user