-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (43 loc) · 1 KB
/
lint.yml
File metadata and controls
50 lines (43 loc) · 1 KB
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
40
41
42
43
44
45
46
47
48
49
50
name: lint
on:
push:
branches:
- main
pull_request:
paths:
- "Sources/**"
- ".github/workflows/ci.yml"
- "Tests/**"
concurrency:
group: lint-${{ github.head_ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
lint:
name: lint
runs-on: macos-15
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: jdx/mise-action@v3
- name: Run
run: mise run lint
discover-typos:
name: discover-typos
runs-on: macos-15
env:
DEVELOPER_DIR: /Applications/Xcode_16.4.app/Contents/Developer
steps:
- uses: actions/checkout@v6
- name: Set up Python environment
run: |
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install codespell
- name: Discover typos
run: |
source .venv/bin/activate
codespell --ignore-words-list="hart,inout,msdos,sur" --skip="./.build/*,./.git/*"