Skip to content
Snippets Groups Projects
Commit d70fc729 authored by James Briggs's avatar James Briggs
Browse files

fix: python version

parent 753ab986
No related branches found
No related tags found
No related merge requests found
......@@ -17,16 +17,17 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.uv
key: ${{ runner.os }}-uv-${{ hashFiles('**/uv.lock') }}
key: ${{ runner.os }}-uv-${{ hashFiles('**/uv.lock') }}-${{ matrix.python-version }}
restore-keys: |
${{ runner.os }}-uv-
${{ runner.os }}-uv-${{ matrix.python-version }}
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Set up Python ${{ matrix.python-version }}
run: uv venv --python 3.13
- name: Install dependencies
run: uv pip install .[dev]
uv venv --python 3.13
uv pip install .[dev]
with:
cache-key: ${{ runner.os }}-uv-${{ hashFiles('**/uv.lock') }}-${{ matrix.python-version }}
cache-name: uv
- name: Analyzing the code with our lint
run: |
make lint
......@@ -29,9 +29,9 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.uv
key: ${{ runner.os }}-uv-${{ hashFiles('**/uv.lock') }}
key: ${{ runner.os }}-uv-${{ hashFiles('**/uv.lock') }}-${{ matrix.python-version }}
restore-keys: |
${{ runner.os }}-uv-
${{ runner.os }}-uv-${{ matrix.python-version }}
- name: Wait for Pinecone service to start
run: |
......@@ -42,7 +42,7 @@ jobs:
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Set up Python ${{ matrix.python-version }}
run: uv venv --python 3.13
run: uv venv --python ${{ matrix.python-version }}
# only needed for local testing
# - name: Add Poetry to PATH
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment