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 50f533f
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .cspell/cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"version": "0.2",
"language": "en",
"words": [
"alumet",
"mdbook",
"github",
"rustc",
"toolchain",
"runnable",
"RAPL",
"NVIDIA",
"perf",
"perf-events",
"powercap",
"sysfs",
"jetson",
]
}
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"

0 comments on commit 50f533f

Please sign in to comment.