Skip to content

ci: Update Python versions in code checks #436

ci: Update Python versions in code checks

ci: Update Python versions in code checks #436

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:
jobs:
lint_check:
name: Lint check
uses: apify/workflows/.github/workflows/python_lint_check.yaml@main
with:
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'

Check failure on line 14 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: 14, Col: 24): Invalid input, python-versions is not defined in the referenced workflow.
type_check:
name: Type check
uses: apify/workflows/.github/workflows/python_type_check.yaml@main
with:
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
unit_tests:
name: Unit tests
uses: apify/workflows/.github/workflows/python_unit_tests.yaml@main
with:
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13"]'
docs_check:
name: Docs check
uses: apify/workflows/.github/workflows/python_docs_check.yaml@main
integration_tests:
name: Integration tests
needs: [lint_check, type_check, unit_tests]
uses: apify/workflows/.github/workflows/python_integration_tests.yaml@main
secrets: inherit
with:
python-version: '["3.9", "3.13"]'