Skip to content

chore(ci): Align GitHub workflows across Python projects #33

chore(ci): Align GitHub workflows across Python projects

chore(ci): Align GitHub workflows across Python projects #33

name: Run code checks
on:
# Trigger code checks on opening a new pull request.
# Secrets are only made available to the integration tests job, with a manual approval
# step required for PRs from forks. This prevents their potential exposure.
pull_request:
# Trigger for pushing to the master branch is handled by the pre-release workflow.
# It should also be possible to trigger checks manually
workflow_dispatch:
# Allow this workflow to be invoked as a reusable workflow from other workflows
workflow_call:
jobs:
actions_lint_check:
name: Actions lint check
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Run actionlint
uses: rhysd/actionlint@v1.7.9
lint_check:
name: Lint check
uses: apify/workflows/.github/workflows/python_lint_check.yaml@main
with:
python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
type_check:
name: Type check
uses: apify/workflows/.github/workflows/python_type_check.yaml@main
with:
python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
unit_tests:
name: Unit tests
uses: apify/workflows/.github/workflows/python_unit_tests.yaml@main

Check failure on line 41 in .github/workflows/run_code_checks.yaml

View workflow run for this annotation

GitHub Actions / Run code checks

Invalid workflow file

The workflow is not valid. .github/workflows/run_code_checks.yaml (Line: 41, Col: 11): Input operating-systems is required, but not provided while calling. .github/workflows/run_code_checks.yaml (Line: 41, Col: 11): Input python-version-for-codecov is required, but not provided while calling.
with:
python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'