Skip to content

Commit

Permalink
Update uv
Browse files Browse the repository at this point in the history
  • Loading branch information
itssimon committed Jan 18, 2025
1 parent 5bbbe2e commit f7e9bc4
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "0.5.14"
version: "0.5.21"
enable-cache: true
- name: Build package
run: uv build
Expand Down
18 changes: 14 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"
- uses: pre-commit/action@v3.0.1

test-coverage:
Expand All @@ -26,7 +26,7 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "0.5.14"
version: "0.5.21"
enable-cache: true
- name: Install Python
run: uv python install 3.13
Expand All @@ -46,7 +46,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
deps:
- starlette
- fastapi starlette
Expand Down Expand Up @@ -78,12 +78,22 @@ jobs:
deps: djangorestframework==3.10.* django==2.2.* uritemplate
- python: "3.12"
deps: litestar==2.0.1
- python: "3.13"
deps: fastapi==0.100.1 starlette
- python: "3.13"
deps: fastapi==0.87.0 starlette
- python: "3.13"
deps: djangorestframework==3.12.* django==3.2.* uritemplate
- python: "3.13"
deps: djangorestframework==3.10.* django==2.2.* uritemplate
- python: "3.13"
deps: litestar==2.0.1
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "0.5.14"
version: "0.5.21"
enable-cache: true
- name: Install Python
run: uv python install ${{ matrix.python }}
Expand Down
6 changes: 5 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
default_language_version:
python: "3.12"
python: "3.13"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
Expand All @@ -13,3 +13,7 @@ repos:
- id: ruff
args: ["--fix", "--exit-non-zero-on-fix"]
- id: ruff-format
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.5.21
hooks:
- id: uv-lock
1 change: 0 additions & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f7e9bc4

Please sign in to comment.