Skip to content

Commit

Permalink
feat: enable uv cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Timur Carstensen committed Jan 14, 2025
1 parent 72a9315 commit a97e729
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: install the latest version uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@v5
with:
version: latest
enable-cache: true
- name: create virtual environment
run: uv venv --python '3.10'
- name: install pre-commit
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: install the latest version uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@v5
with:
version: latest
enable-cache: true
- name: create venv
run: uv venv --python ${{ matrix.python-version }}
- name: install dependencies
Expand Down

0 comments on commit a97e729

Please sign in to comment.