Skip to content

Commit 94227ba

Browse files
committed
Port to uv
1 parent 64be0dd commit 94227ba

File tree

5 files changed

+554
-798
lines changed

5 files changed

+554
-798
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,28 +22,15 @@ jobs:
2222
- name: Setup Python (pip)
2323
uses: actions/setup-python@v6
2424
with:
25-
python-version: '3.x'
26-
architecture: 'x64'
27-
cache: 'pip'
28-
cache-dependency-path: .github/workflows/main.yml
25+
python-version-file: "pyproject.toml"
2926

30-
- name: Install codespell and poetry
31-
run: python3 -m pip install --upgrade codespell poetry==2.2.1
27+
- name: Install uv
28+
uses: astral-sh/setup-uv@v7
3229

3330
- name: Find typos with codespell
34-
run: codespell --ignore-words-list=seh
35-
36-
- name: Setup Python (poetry)
37-
uses: actions/setup-python@v6
38-
with:
39-
python-version: '3.x'
40-
architecture: 'x64'
41-
cache: 'poetry'
42-
43-
- name: Install dependencies
44-
run: poetry install
31+
run: uvx codespell --ignore-words-list=seh
4532

46-
- run: poetry run mkdocs build
33+
- run: uv run mkdocs build
4734

4835
- name: Upload Results
4936
uses: actions/upload-artifact@v5

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ For small changes:
2323

2424
For larger changes:
2525

26-
* `poetry install`
27-
* `poetry run mkdocs serve`
26+
* `uv run mkdocs serve`
2827
* Access http://127.0.0.1:8000 - any changes to the sources should be
2928
immediately visible in your browser
3029
* Open a PR with your changes or just push them if you have commit rights

0 commit comments

Comments
 (0)