Skip to content

Commit 4ec9dc6

Browse files
committed
update ci
1 parent f358e19 commit 4ec9dc6

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
with:
2222
python-version: "3.12"
2323
- run: |
24-
pip install -U pip poetry
25-
poetry install --sync --no-root
26-
poetry run ruff format . --check
27-
poetry run ruff check . --no-fix
28-
poetry run mypy .
24+
curl -LsSf https://astral.sh/uv/install.sh | sh
25+
uv sync --all-extras --frozen --no-install-project
26+
uv run ruff format . --check
27+
uv run ruff check . --no-fix
28+
uv run mypy .
2929
3030
pytest:
3131
runs-on: ubuntu-latest
@@ -50,10 +50,10 @@ jobs:
5050
with:
5151
python-version: "3.12"
5252
- run: |
53-
pip install -U pip poetry
54-
poetry install --sync --no-root
55-
poetry run alembic upgrade head
56-
poetry run pytest
53+
curl -LsSf https://astral.sh/uv/install.sh | sh
54+
uv sync --all-extras --frozen --no-install-project
55+
uv run alembic upgrade head
56+
uv run pytest
5757
env:
5858
ENVIRONMENT: dev
5959
PYTHONDONTWRITEBYTECODE: 1

0 commit comments

Comments
 (0)