Skip to content

Commit 03fad86

Browse files
committed
chore(ci): Align GitHub workflows across Python projects
1 parent 782a833 commit 03fad86

File tree

3 files changed

+18
-5
lines changed

3 files changed

+18
-5
lines changed

.github/workflows/pre_release.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
# Or it can be triggered manually.
1212
workflow_dispatch:
1313

14+
concurrency:
15+
group: release
16+
cancel-in-progress: false
17+
1418
jobs:
1519
release_metadata:
1620
if: "!startsWith(github.event.head_commit.message, 'docs') && !startsWith(github.event.head_commit.message, 'ci') && startsWith(github.repository, 'apify/')"
@@ -44,7 +48,7 @@ jobs:
4448

4549
publish_to_pypi:
4650
name: Publish to PyPI
47-
needs: [release_metadata, update_changelog]
51+
needs: [release_metadata, run_code_checks, update_changelog]
4852
runs-on: ubuntu-latest
4953
permissions:
5054
contents: write

.github/workflows/run_code_checks.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,29 @@ on:
1515
workflow_call:
1616

1717
jobs:
18+
actions_lint_check:
19+
name: Actions lint check
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout repository
23+
uses: actions/checkout@v6
24+
- name: Run actionlint
25+
uses: rhysd/[email protected]
26+
1827
lint_check:
1928
name: Lint check
2029
uses: apify/workflows/.github/workflows/python_lint_check.yaml@main
2130
with:
22-
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
31+
python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
2332

2433
type_check:
2534
name: Type check
2635
uses: apify/workflows/.github/workflows/python_type_check.yaml@main
2736
with:
28-
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
37+
python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
2938

3039
unit_tests:
3140
name: Unit tests
3241
uses: apify/workflows/.github/workflows/python_unit_tests.yaml@main
3342
with:
34-
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
43+
python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'

.github/workflows/update_new_issue.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
owner: context.repo.owner,
2323
repo: context.repo.repo,
2424
labels: ["t-tooling"]
25-
})
25+
})

0 commit comments

Comments
 (0)