Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Commit 9e86b89

Browse files
committed
wip
1 parent 7773eb2 commit 9e86b89

3 files changed

Lines changed: 34 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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+
uv run sphinx-build
21+
make html
22+
- name: Check PR title style
23+
uses: actions/github-script@v7
24+
with:
25+
script: |
26+
const title = context.payload.pull_request.title;
27+
const regex = /^(feat|fix|refactor|doc|perf|style|test|chore|revert)!?:[ ][a-z].*$/;
28+
if (!regex.test(title)) {
29+
core.setFailed(
30+
`PR title "${title}" does not match the expected conventional commit format`
31+
);
32+
}

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ jobs:
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

docs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# You can set these variables from the command line, and also
55
# from the environment for the first two.
66
SPHINXOPTS ?=
7-
SPHINXBUILD ?= sphinx-build
7+
SPHINXBUILD ?= uv run sphinx-build
88
SOURCEDIR = source
99
BUILDDIR = build
1010

0 commit comments

Comments
 (0)