Skip to content

Commit

Permalink
Fixed caching issues with uv in actions
Browse files Browse the repository at this point in the history
coordt committed Dec 7, 2024
1 parent 91d4b1f commit 283590f
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/actions/setup-python-and-git/action.yaml
Original file line number Diff line number Diff line change
@@ -12,9 +12,8 @@ runs:
name: Setup Python
with:
python-version: ${{ inputs.python-version }}
cache: 'pip' # caching pip dependencies
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@v4
with:
version: "latest"
- name: Git check
5 changes: 1 addition & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -35,8 +35,6 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install test dependencies
run: uv sync -p ${{ matrix.python-version }} --group test
- name: show fixture dir
run: tree tests/fixtures
- name: Test
run: uv run pytest

@@ -58,8 +56,7 @@ jobs:
- name: Install requirements
shell: bash
run: |
uv pip install build
uv pip install bump-my-version
uv pip install build bump-my-version
- name: Set dev version
shell: bash

0 comments on commit 283590f

Please sign in to comment.