Add a full spellcheck.
Some checks failed
Spell Check / Check spelling (push) Failing after 8s
vale / runner / vale (push) Successful in 4s

This commit is contained in:
g_it 2026-04-08 16:05:43 +02:00
commit d51801ac65
Signed by untrusted user who does not match committer: g_it
GPG key ID: A2B0A7C06A054627
4 changed files with 34 additions and 40 deletions

11
.codespellrc Normal file
View file

@ -0,0 +1,11 @@
[codespell]
# Only check these file types
skip = .git,target,node_modules,.forgejo,src,bin,*.js,*.ts,*.py,*.go,*.rs
extensions = md,html,adoc,txt
# Built-in dictionary + ignore words
ignore-words-list =
dictionaries = clear,rare,informal,code
# Be strict
check-filenames = false

View file

@ -0,0 +1,23 @@
name: Spell Check
on:
push:
branches:
- main
jobs:
codespell:
name: Check spelling
runs-on: ubuntu-latest
steps:
- name: Checkout repository
run: |
git clone --depth 1 https://token:${{ secrets.ACTIONS_TOKEN }}@gugulet.hu/technical/git/g_it/site.git .
- name: Install codespell
run: |
apt-get update && apt-get install -y python3-pip
pip install codespell
- name: Run codespell
run: codespell --config .codespellrc

View file

@ -1,27 +0,0 @@
name: Spell Check with typos
on:
push:
branches:
- main
jobs:
typos:
name: Check for typos
runs-on: ubuntu-latest
steps:
- name: Checkout repository
run: |
git clone --depth 1 https://token:${{ secrets.ACTIONS_TOKEN }}@gugulet.hu/technical/git/g_it/site.git .
cd site || true
- name: Install Rust and typos
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env
cargo install typos-cli
- name: Run typos
run: |
source $HOME/.cargo/env
typos

View file

@ -1,13 +0,0 @@
[default]
# Only check these file extensions
extend-include = ["*.md", "*.html"]
# Exclude code directories
exclude = [
".git",
"target",
"node_modules",
".forgejo",
"src",
"bin",
]