Skip to content

Building AI agents, atomically

Update GitHub Actions workflows to use Python 3.12 and configure Poetry environment

KennyVaneetvelde709b7aa14596
diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml
index bb2ad4a..f1a090a 100644
--- a/.github/workflows/code-quality.yml
+++ b/.github/workflows/code-quality.yml
@@ -17,6 +17,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: '3.12'
+ cache: ""
- name: Install Poetry
run: |
@@ -27,6 +28,9 @@ jobs:
run: |
poetry config virtualenvs.create true
poetry config virtualenvs.in-project true
+ - name: Select Python for Poetry
+ run: |
+ poetry env use $(which python)
- name: Cache Poetry virtualenv
uses: actions/cache@v4
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 2c8e9a7..91133c5 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -27,7 +27,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
- python-version: '3.10' # or your preferred version
+ python-version: '3.12' # ensure consistency with project requirement
cache: 'pip'
- name: Install dependencies