forked from supercollider/supercollider
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (34 loc) · 875 Bytes
/
Copy pathlint_non_code.yml
File metadata and controls
40 lines (34 loc) · 875 Bytes
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
name: Lint non-code files
on:
push:
paths:
- 'examples/**'
- 'HelpSource/**'
- 'sounds/**'
- '*.md'
pull_request:
paths:
- 'examples/**'
- 'HelpSource/**'
- 'sounds/**'
- '*.md'
jobs:
lint-non-code-files:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v7
with:
submodules: recursive
- name: lint class library
run: |
sudo npm install -g lintspaces-cli
lintspaces -e .editorconfig SCClassLibrary/**/*.sc || true # ignore failure
- uses: actions/setup-python@v6
with:
python-version: '3.10'
- name: setup pre-commit
run: python -m pip install pre-commit
- name: run pre-commit
run: pre-commit run --show-diff-on-failure --color=always --all-files
env:
FULL_CHECK: 1