Skip to content

Commit 6210476

Browse files
committed
Replaced <python|yaml>-lint w/ lint-all
1 parent d6a0794 commit 6210476

1 file changed

Lines changed: 12 additions & 23 deletions

File tree

.github/workflows/lint-on-push-pr.yml

Lines changed: 12 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,23 @@ name: Lint pushes + PRs
22
on: [push, pull_request]
33

44
jobs:
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

0 commit comments

Comments
 (0)