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

Commit fbab183

Browse files
committed
wip
1 parent 7773eb2 commit fbab183

3 files changed

Lines changed: 35 additions & 3 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+
with:
14+
version: "0.8.2"
15+
- name: Static code check
16+
run: uv run poe checker
17+
- name: Check docs build
18+
working-directory: ./docs
19+
run: |
20+
uv sync --group docs
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
echo "::error ::Tag doesn't match project version"
2828
exit 1
2929
- name: Install uv
30-
uses: astral-sh/setup-uv@v5
30+
uses: astral-sh/setup-uv@v6
3131
with:
32-
version: "0.5.20"
32+
version: "0.8.2"
3333
- name: Build package
3434
run: uv build
3535
- 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)