File tree Expand file tree Collapse file tree 2 files changed +41
-10
lines changed
Expand file tree Collapse file tree 2 files changed +41
-10
lines changed Original file line number Diff line number Diff line change 1+ name : Format and Lint
2+ on :
3+ pull_request :
4+ branches : [main]
5+ workflow_dispatch :
6+
7+ permissions :
8+ contents : write
9+ pull-requests : write
10+
11+ jobs :
12+ lint-python :
13+ name : Format and Lint Python
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v4
17+ - name : Install uv
18+ uses : astral-sh/setup-uv@v5
19+ - name : Run Ruff
20+ run : uv run ruff check . --output-format=github
21+ - name : Ruff format
22+ run : uv run ruff format . --check
23+
24+ lint-docs :
25+ name : Lint Markdown
26+ runs-on : ubuntu-latest
27+ steps :
28+ - uses : actions/checkout@v4
29+ - name : Markdown Lint base-files
30+ uses : DavidAnson/markdownlint-cli2-action@v20
31+ with :
32+ globs : |
33+ *.md
34+ .github/**/*.md
35+ config : ./.markdownlint.json
36+ - name : Markdown Lint Docs
37+ uses : DavidAnson/markdownlint-cli2-action@v20
38+ with :
39+ globs : docs/**/*.md
40+ config : docs/.markdownlint.json
Original file line number Diff line number Diff line change 1717 - " tests/**"
1818 - " pyproject.toml"
1919jobs :
20- lint-and-format :
21- runs-on : ubuntu-latest
22- steps :
23- - uses : actions/checkout@v4
24- - name : Install uv
25- uses : astral-sh/setup-uv@v5
26- - name : Run Ruff
27- run : uv run ruff check . --output-format=github
28- - name : Ruff format
29- run : uv run ruff format . --check
3020 test-against-python-matrix :
21+ name : PyTest
3122 strategy :
3223 matrix :
3324 python-version : ["3.10", "3.11", "3.12", "3.13"]
You can’t perform that action at this time.
0 commit comments