File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,34 +2,23 @@ name: Lint pushes + PRs
22on : [push, pull_request]
33
44jobs :
5-
6- python-lint :
7- name : Python lint
8- runs-on : ubuntu-latest
5+ lint-all :
6+ name : Lint all files (via pre-commit)
7+ runs-on : ubuntu-24.04
98 permissions :
109 contents : read
1110
1211 steps :
13-
14- - name : Checkout repository code
12+ - name : Checkout repository
1513 uses : actions/checkout@v6.0.1
1614
17- - name : Run Ruff
18- uses : astral-sh/ruff-action@v3.6.1
19-
20- yaml-lint :
21- name : YAML lint
22- runs-on : ubuntu-latest
23- permissions :
24- contents : read
25-
26- steps :
27-
28- - name : Checkout repository code
29- uses : actions/checkout@v6.0.1
15+ - name : Set up Python
16+ uses : actions/setup-python@v6.2.0
17+ with :
18+ python-version : ' 3.x'
3019
31- - name : Install yamllint
32- run : pip install yamllint
20+ - name : Install dev dependencies
21+ run : pip install -r requirements-dev.txt
3322
34- - name : Run yamllint
35- run : yamllint . -c .yamllint-config.yaml
23+ - name : Lint all files
24+ run : nox -s lint-all
You can’t perform that action at this time.
0 commit comments