Skip to content

Commit 47dbe08

Browse files
committed
fix
1 parent 752e68e commit 47dbe08

File tree

3 files changed

+12
-21
lines changed

3 files changed

+12
-21
lines changed

.github/workflows/pre_release.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ on:
1111
# Or it can be triggered manually.
1212
workflow_dispatch:
1313

14-
env:
15-
PYTHON_VERSIONS: '["3.10", "3.11", "3.12", "3.13"]'
16-
1714
jobs:
1815
release_metadata:
1916
if: "!startsWith(github.event.head_commit.message, 'docs') && !startsWith(github.event.head_commit.message, 'ci') && startsWith(github.repository, 'apify/')"
@@ -35,19 +32,19 @@ jobs:
3532
name: Lint check
3633
uses: apify/workflows/.github/workflows/python_lint_check.yaml@main
3734
with:
38-
python-version: ${{ env.PYTHON_VERSIONS }}
35+
python-version: '["3.10", "3.11", "3.12", "3.13"]'
3936

4037
type_check:
4138
name: Type check
4239
uses: apify/workflows/.github/workflows/python_type_check.yaml@main
4340
with:
44-
python-version: ${{ env.PYTHON_VERSIONS }}
41+
python-version: '["3.10", "3.11", "3.12", "3.13"]'
4542

4643
unit_tests:
4744
name: Unit tests
4845
uses: apify/workflows/.github/workflows/python_unit_tests.yaml@main
4946
with:
50-
python-version: ${{ env.PYTHON_VERSIONS }}
47+
python-version: '["3.10", "3.11", "3.12", "3.13"]'
5148

5249
async_docstrings:
5350
name: Async dostrings check
@@ -58,7 +55,7 @@ jobs:
5855
uses: apify/workflows/.github/workflows/python_integration_tests.yaml@main
5956
secrets: inherit
6057
with:
61-
python-version: ${{ env.PYTHON_VERSIONS }}
58+
python-version: '["3.10", "3.11", "3.12", "3.13"]'
6259

6360
update_changelog:
6461
name: Update changelog

.github/workflows/release.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ on:
2121
type: string
2222
default: ""
2323

24-
env:
25-
PYTHON_VERSIONS: '["3.10", "3.11", "3.12", "3.13"]'
26-
2724
jobs:
2825
release_metadata:
2926
name: Prepare release metadata
@@ -46,19 +43,19 @@ jobs:
4643
name: Lint check
4744
uses: apify/workflows/.github/workflows/python_lint_check.yaml@main
4845
with:
49-
python-version: ${{ env.PYTHON_VERSIONS }}
46+
python-version: '["3.10", "3.11", "3.12", "3.13"]'
5047

5148
type_check:
5249
name: Type check
5350
uses: apify/workflows/.github/workflows/python_type_check.yaml@main
5451
with:
55-
python-version: ${{ env.PYTHON_VERSIONS }}
52+
python-version: '["3.10", "3.11", "3.12", "3.13"]'
5653

5754
unit_tests:
5855
name: Unit tests
5956
uses: apify/workflows/.github/workflows/python_unit_tests.yaml@main
6057
with:
61-
python-version: ${{ env.PYTHON_VERSIONS }}
58+
python-version: '["3.10", "3.11", "3.12", "3.13"]'
6259

6360
async_docstrings:
6461
name: Async dostrings check
@@ -69,7 +66,7 @@ jobs:
6966
uses: apify/workflows/.github/workflows/python_integration_tests.yaml@main
7067
secrets: inherit
7168
with:
72-
python-version: ${{ env.PYTHON_VERSIONS }}
69+
python-version: '["3.10", "3.11", "3.12", "3.13"]'
7370

7471
update_changelog:
7572
name: Update changelog

.github/workflows/run_code_checks.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,24 @@ on:
66
# step required for PRs from forks. This prevents their potential exposure.
77
pull_request:
88

9-
env:
10-
PYTHON_VERSIONS: '["3.10", "3.11", "3.12", "3.13"]'
11-
129
jobs:
1310
lint_check:
1411
name: Lint check
1512
uses: apify/workflows/.github/workflows/python_lint_check.yaml@main
1613
with:
17-
python-version: ${{ env.PYTHON_VERSIONS }}
14+
python-version: '["3.10", "3.11", "3.12", "3.13"]'
1815

1916
type_check:
2017
name: Type check
2118
uses: apify/workflows/.github/workflows/python_type_check.yaml@main
2219
with:
23-
python-version: ${{ env.PYTHON_VERSIONS }}
20+
python-version: '["3.10", "3.11", "3.12", "3.13"]'
2421

2522
unit_tests:
2623
name: Unit tests
2724
uses: apify/workflows/.github/workflows/python_unit_tests.yaml@main
2825
with:
29-
python-version: ${{ env.PYTHON_VERSIONS }}
26+
python-version: '["3.10", "3.11", "3.12", "3.13"]'
3027

3128
async_docstrings:
3229
name: Async dostrings check
@@ -41,5 +38,5 @@ jobs:
4138
needs: [lint_check, type_check, unit_tests]
4239
uses: apify/workflows/.github/workflows/python_integration_tests.yaml@main
4340
with:
44-
python-version: ${{ env.PYTHON_VERSIONS }}
41+
python-version: '["3.10", "3.11", "3.12", "3.13"]'
4542
secrets: inherit

0 commit comments

Comments
 (0)