Skip to content

Commit

Permalink
leverage uv in CI/CD job build
Browse files Browse the repository at this point in the history
  • Loading branch information
jakob-keller committed Jan 7, 2025
1 parent 7432338 commit c419553
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,12 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install build dependencies
run: python -m pip install build twine
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Build distribution 📦
run: python -m build
run: uv build
- name: Check distribution 📦
run: python -m twine check --strict dist/*
run: uvx twine check --strict dist/*
- name: Upload distribution 📦
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit c419553

Please sign in to comment.