Skip to content

Commit

Permalink
Use python distributions provided by uv instead of actions/setup-python
Browse files Browse the repository at this point in the history
  • Loading branch information
JWCook committed Jan 22, 2025
1 parent d368471 commit cba40f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,16 @@ jobs:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']

steps:
# Install prereqs and dependencies, with caching
# Install dependencies, with caching
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: uv.lock
- name: Install dependencies
run: uv sync
run: |
uv python install ${{ matrix.python-version }}
uv sync
# Run tests with coverage report
- name: Run tests
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ jobs:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.13'
- uses: astral-sh/setup-uv@v5

- name: Set pre-release version
Expand Down

0 comments on commit cba40f4

Please sign in to comment.