Skip to content

Commit 5333eca

Browse files
committed
chore: update CI workflow to use uv for dependency management
- Replaced Poetry setup with actions/setup-python for Python installation. - Added installation step for uv and updated commands to use uv for running checks and tests. - Streamlined the CI process by integrating uv for dependency synchronization and execution of tasks.
1 parent 4a185e6 commit 5333eca

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/ci-default.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,25 +52,31 @@ jobs:
5252
- recursive: true
5353
args: [--frozen-lockfile, --strict-peer-dependencies]
5454
55-
- name: "Setup Python, Poetry and Dependencies"
56-
uses: packetcoders/action-setup-cache-python-poetry@main
55+
- name: Setup Python
56+
uses: actions/setup-python@v5
5757
with:
5858
python-version: ${{ matrix.python_version }}
59-
poetry-version: 1.8.2
59+
60+
- name: Install uv
61+
uses: astral-sh/setup-uv@v3
62+
63+
- name: Install dependencies
64+
run: |
65+
uv sync --all-extras
6066
6167
- name: Type Check (Python)
6268
run: |
6369
pnpm pyright
6470
6571
- name: Lint (Python)
6672
run: |
67-
poetry run ruff check
73+
uv run ruff check
6874
6975
- name: Test (Python)
7076
run: |
71-
poetry run pytest
77+
uv run pytest
7278
7379
- name: Run the sample dagster project
7480
run: |
75-
poetry run dagster job execute -f sample/dagster_project/definitions.py -j all_assets_job
81+
uv run dagster job execute -f sample/dagster_project/definitions.py -j all_assets_job
7682

0 commit comments

Comments
 (0)