This repository was archived by the owner on Apr 7, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ pull_request :
4+ jobs :
5+ ci :
6+ name : CI
7+ runs-on : ubuntu-latest
8+ steps :
9+ - name : Checkout repository
10+ uses : actions/checkout@v4
11+ - name : Install uv
12+ uses : astral-sh/setup-uv@v6
13+ - name : Static code check
14+ run : uv run poe checker
15+ - name : Check docs build
16+ working-directory : ./docs
17+ run : |
18+ pwd
19+ ls
20+ - name : Check PR title style
21+ uses : actions/github-script@v7
22+ with :
23+ script : |
24+ const title = context.payload.pull_request.title;
25+ const regex = /^(feat|fix|refactor|doc|perf|style|test|chore|revert)!?:[ ][a-z].*$/;
26+ if (!regex.test(title)) {
27+ core.setFailed(
28+ `PR title "${title}" does not match the expected conventional commit format`
29+ );
30+ }
Original file line number Diff line number Diff line change 2727 echo "::error ::Tag doesn't match project version"
2828 exit 1
2929 - name : Install uv
30- uses : astral-sh/setup-uv@v5
31- with :
32- version : " 0.5.20"
30+ uses : astral-sh/setup-uv@v6
3331 - name : Build package
3432 run : uv build
3533 - name : Publish package to PyPI
Original file line number Diff line number Diff line change 44# You can set these variables from the command line, and also
55# from the environment for the first two.
66SPHINXOPTS ?=
7- SPHINXBUILD ?= sphinx-build
7+ SPHINXBUILD ?= uv run sphinx-build
88SOURCEDIR = source
99BUILDDIR = build
1010
You can’t perform that action at this time.
0 commit comments