2626 branches:
2727 - main
2828 pull_request:
29+ env:
30+ PYTHON_VERSION: "{min_python_version}"
2931jobs:
3032 linting:
3133 runs-on: ubuntu-latest
4042 - name: Set up Python
4143 uses: actions/setup-python@v5
4244 with:
43- python-version: "{min_python_version}"
45+ python-version: ${{{{ env.PYTHON_VERSION }}}}
4446 cache: "poetry"
4547 - name: Install Dependencies
4648 run: poetry install
9294 branches:
9395 - main
9496 pull_request:
97+ env:
98+ PYTHON_VERSION: "{min_python_version}"
9599jobs:
96100 linting:
97101 runs-on: ubuntu-latest
@@ -100,7 +104,7 @@ jobs:
100104 - name: Set up Python
101105 uses: actions/setup-python@v5
102106 with:
103- python-version: "{min_python_version}"
107+ python-version: ${{{{ env.PYTHON_VERSION }}}}
104108 cache: "pip"
105109 - name: Install Dependencies
106110 run: |
152156 pull_request:
153157env:
154158 UV_CACHE_DIR: /tmp/.uv-cache
159+ PYTHON_VERSION: "{min_python_version}"
155160jobs:
156161 linting:
157162 runs-on: ubuntu-latest
@@ -162,7 +167,7 @@ jobs:
162167 - name: Set up Python
163168 uses: actions/setup-python@v5
164169 with:
165- python-version: "{min_python_version}"
170+ python-version: ${{{{ env.PYTHON_VERSION }}}}
166171 - name: Restore uv cache
167172 uses: actions/cache@v4
168173 with:
232237 CARGO_TERM_COLOR: always
233238 RUST_BACKTRACE: 1
234239 RUSTFLAGS: "-D warnings"
240+ PYTHON_VERSION: "{min_python_version}"
235241jobs:
236242 clippy:
237243 name: Clippy
@@ -264,7 +270,7 @@ jobs:
264270 - name: Set up Python
265271 uses: actions/setup-python@v5
266272 with:
267- python-version: "{min_python_version}"
273+ python-version: ${{{{ env.PYTHON_VERSION }}}}
268274 cache: "pip"
269275 - name: Install Dependencies
270276 run: |
352358 branches:
353359 - main
354360 pull_request:
361+ env:
362+ PYTHON_VERSION: "{min_python_version}"
355363jobs:
356364 linting:
357365 runs-on: ubuntu-latest
@@ -366,7 +374,7 @@ jobs:
366374 - name: Set up Python
367375 uses: actions/setup-python@v5
368376 with:
369- python-version: "{min_python_version}"
377+ python-version: ${{{{ env.PYTHON_VERSION }}}}
370378 cache: "poetry"
371379 - name: Install Dependencies
372380 run: poetry install
419427 branches:
420428 - main
421429 pull_request:
430+ env:
431+ PYTHON_VERSION: "{min_python_version}"
422432jobs:
423433 linting:
424434 runs-on: ubuntu-latest
@@ -427,7 +437,7 @@ jobs:
427437 - name: Set up Python
428438 uses: actions/setup-python@v5
429439 with:
430- python-version: "{min_python_version}"
440+ python-version: ${{{{ env.PYTHON_VERSION }}}}
431441 cache: "pip"
432442 - name: Install Dependencies
433443 run: |
482492 CARGO_TERM_COLOR: always
483493 RUST_BACKTRACE: 1
484494 RUSTFLAGS: "-D warnings"
495+ PYTHON_VERSION: "{min_python_version}"
485496jobs:
486497 clippy:
487498 name: Clippy
@@ -514,7 +525,7 @@ jobs:
514525 - name: Set up Python
515526 uses: actions/setup-python@v5
516527 with:
517- python-version: "{min_python_version}"
528+ python-version: ${{{{ env.PYTHON_VERSION }}}}
518529 cache: "pip"
519530 - name: Install Dependencies
520531 run: |
573584 pull_request:
574585env:
575586 UV_CACHE_DIR: /tmp/.uv-cache
587+ PYTHON_VERSION: "{min_python_version}"
576588jobs:
577589 linting:
578590 runs-on: ubuntu-latest
@@ -583,7 +595,7 @@ jobs:
583595 - name: Set up Python
584596 uses: actions/setup-python@v5
585597 with:
586- python-version: "{min_python_version}"
598+ python-version: ${{{{ env.PYTHON_VERSION }}}}
587599 - name: Restore uv cache
588600 uses: actions/cache@v4
589601 with:
0 commit comments