chore(ci): Update python setup

This commit is contained in:
Matthias
2026-03-13 21:08:43 +01:00
parent e28eedaf1c
commit 71598294a1
+21 -10
View File
@@ -32,7 +32,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python
- name: Set up Python 🐍
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: ${{ matrix.python-version }}
@@ -182,7 +182,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python
- name: Set up Python 🐍
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 #v6.2.0
with:
python-version: "3.12"
@@ -218,7 +218,7 @@ jobs:
run: |
./tests/test_docs.sh
- name: Set up Python
- name: Set up Python 🐍
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.13"
@@ -247,22 +247,25 @@ jobs:
# Run pytest with "live" checks
name: "Tests and Linting - Online tests"
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Set up Python
- name: Set up Python 🐍
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.12"
python-version: "${{ matrix.python-version }}"
- name: Install uv
uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1
with:
activate-environment: true
enable-cache: true
python-version: "3.12"
python-version: "${{ matrix.python-version }}"
cache-dependency-glob: "requirements**.txt"
cache-suffix: "3.12"
@@ -319,6 +322,9 @@ jobs:
pre-commit,
]
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.13"]
steps:
@@ -331,14 +337,20 @@ jobs:
with:
persist-credentials: false
- name: Set up Python
- name: Set up Python 🐍
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.12"
python-version: "${{ matrix.python-version }}"
- name: Install uv
uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1
with:
activate-environment: true
python-version: "${{ matrix.python-version }}"
- name: Build distribution
run: |
pip install -U build
uv pip install -U build
python -m build --sdist --wheel
- name: Upload artifacts 📦
@@ -351,7 +363,6 @@ jobs:
- name: Build Client distribution
run: |
pip install -U build
python -m build --sdist --wheel ft_client
- name: Upload artifacts 📦