Skip to content

Commit

Permalink
Convert workflows to use UV instead of pip per #166
Browse files Browse the repository at this point in the history
  • Loading branch information
pydanny committed May 8, 2024
1 parent c78c2c9 commit 61fff09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install '.[dev]'
python -m pip install uv
uv pip install -p ${{ matrix.python-version }} '.[dev]'
- name: Lint with ruff and black
run: |
# stop the build if there are linting errors
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
python-version: 3.x
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
pip install uv
uv pip install -p 3.12 build
- name: Build package
run: |
rm -rf dist
Expand Down

0 comments on commit 61fff09

Please sign in to comment.