-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
39 lines (36 loc) · 1.06 KB
/
SpellCheck.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Spell Check
permissions: {}
on: [pull_request]
jobs:
typos-check:
name: Spell Check with Typos
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout the JuliaLang/julia repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Check spelling
uses: crate-ci/typos@master
codespell:
# https://github.com/codespell-project/codespell
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- run: pip install codespell
# All files except assembly files (*.S)
- run: codespell --skip='*.S' --ignore-words=.codespell.ignore
codespell-asm:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- run: pip install codespell
# Only assembly files
- run: codespell --skip='*.c,*.cpp,*.h,*.iss,*.jl,*.md,*.rtf,*.scm,*.toml' --ignore-words=.codespell.asm.ignore