mirror of
https://github.com/Sea-Haven-Industries/.github.git
synced 2026-10-07 12:48:56 +00:00
25 lines
879 B
YAML
25 lines
879 B
YAML
name: CI (Python / SAM)
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
merge_group:
|
|
|
|
jobs:
|
|
select-runner:
|
|
# Picks GitHub-hosted while Actions is operational, the org self-hosted
|
|
# runner otherwise. See callable-select-runner.yaml for the policy.
|
|
uses: Sea-Haven-Industries/.github/.github/workflows/callable-select-runner.yaml@REPLACE-ME # vX.Y.Z
|
|
permissions:
|
|
actions: read
|
|
secrets: inherit
|
|
|
|
ci:
|
|
needs: select-runner
|
|
uses: Sea-Haven-Industries/.github/.github/workflows/ci-python-sam.yaml@REPLACE-ME # vX.Y.Z
|
|
with:
|
|
runner: ${{ needs.select-runner.outputs.runner }}
|
|
run-tests: true
|
|
# ci-python-sam.yaml declares a `node-version` input (default "24") that
|
|
# feeds the CDK CLI when run-cdk-synth is enabled. Passed explicitly so
|
|
# the pin does not drift from local dev (Node 24 / npm 11).
|
|
node-version: "24"
|