Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions .github/actions/setup-uv-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ description: "Composite action to setup the Python and uv environment."

inputs:
python-version:
required: false
required: true
description: "The python version to use"
default: "3.11"

runs:
using: "composite"
Expand All @@ -19,15 +18,8 @@ runs:
run: curl -LsSf https://astral.sh/uv/install.sh | sh
shell: bash

- name: Load cached venv
id: cached-uv-dependencies
uses: actions/cache@v4
if: github.run_attempt == 1
with:
path: .venv
key: venv-${{ runner.os }}-${{ inputs.python-version }}-${{ hashFiles('uv.lock') }}

- name: Install dependencies
if: github.run_attempt > 1 || steps.cached-uv-dependencies.outputs.cache-hit != 'true'
run: uv sync --all-groups
run: |
uv venv --python $(python${{ inputs.python-version }} --version | awk '{print $2;}')
uv sync --all-groups
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
fail-fast: false
defaults:
run:
Expand Down
Loading
Loading