Skip to content

Commit

Permalink
ci: Spell checking with cspell
Browse files Browse the repository at this point in the history
  • Loading branch information
TheElectronWill committed Jul 18, 2024
1 parent 209067c commit dd32c40
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .cspell/cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"version": "0.2",
"language": "en",
"dictionaries": ["custom-dict"],
"dictionaryDefinitions": [
{
// The name of the dictionary is used to look it up.
"name": "custom-dict",
// Path to the custom word file. Relative to this `cspell.json` file.
"path": "./custom-dict.txt",
// Some editor extensions will use `addWords` for adding words to your
// personal dictionary.
"addWords": true
}
]
}
16 changes: 16 additions & 0 deletions .cspell/custom-dict.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
alumet
mdbook
github
rustc
toolchain
runnable
RAPL
NVIDIA
perf
perf-events
powercap
sysfs
jetson
Eviden
Atos
LIG
17 changes: 17 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Check
on: [push]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Spell check
uses: streetsidesoftware/cspell-action@v6
with:
root: src
incremental_files_only: false
config: .cspell/cspell.json
files: "**/*.md"
Binary file added src/images/alumet-high-level-view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dd32c40

Please sign in to comment.