Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Pouya Rostam committed Nov 27, 2023
1 parent 8517a74 commit b10d5ba
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/link-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Check Markdown links

on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gaurav-nelson/[email protected]
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
25 changes: 25 additions & 0 deletions .github/workflows/spell-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: SpellCheck

on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
spellcheck:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: 18

- name: Install CSpell
run: npm install -g cspell

- name: Run CSpell
run: cspell --config .spell-check/.cspell.json "**/*"
22 changes: 22 additions & 0 deletions .spell-check/.cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"language": "en",
"dictionaries": [
"dict"
],
"dictionaryDefinitions": [
{
"name": "dict",
"path": "./dict.txt",
"addWords": true
}
],
"ignorePaths": [
// binaries
"**/*.dll",
"**/*.dylib",
"**/*.mp3",
"**/*.pv",
"**/*.so",
"**/*.wav",
]
}
Empty file added .spell-check/dict.txt
Empty file.

0 comments on commit b10d5ba

Please sign in to comment.