Skip to content

ci: Automate the release process #24

ci: Automate the release process

ci: Automate the release process #24

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
type_check:
name: Type check
uses: apify/workflows/.github/workflows/python_type_check.yaml@main
unit_tests:
name: Unit tests
uses: apify/workflows/.github/workflows/python_unit_tests.yaml@main
# TODO: remove this once https://github.com/apify/apify-sdk-python/issues/241 is resolved
changelog_entry_check:
name: Changelog entry check
uses: ./.github/workflows/_changelog_entry_check.yaml

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

View workflow run for this annotation

GitHub Actions / .github/workflows/run_code_checks.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/run_code_checks.yaml" -> "./.github/workflows/_changelog_entry_check.yaml" : failed to fetch workflow: workflow was not found.
# TODO: remove this once https://github.com/apify/apify-sdk-python/issues/241 is resolved
version_conflict_check:
name: Version conflict check
uses: ./.github/workflows/_version_conflict_check.yaml
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