Alternative CI Runners 1 #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Alternative CI Runners 1 | |
on: | |
# Run the workflow every day TWICE: | |
# 1. 9:06AM UTC (low activity) | |
# 2. 9:26AM UTC (cache test - high chance of no code changes) | |
schedule: | |
- cron: "6,26 9 * * *" | |
# Enable manual trigger for on-demand runs - helps when debugging | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
docs-lint-on-depot-remote-engine: | |
uses: ./.github/workflows/_dagger_on_depot_remote_engine.yml | |
with: | |
function: docs lint | |
docs-lint-on-depot-local-engine: | |
uses: ./.github/workflows/_dagger_on_depot_local_engine.yml | |
with: | |
function: docs lint | |
dev: true | |
timeout: 20 | |
test-cli-engine-on-depot-remote-engine: | |
needs: docs-lint-on-depot-remote-engine | |
uses: ./.github/workflows/_dagger_on_depot_remote_engine.yml | |
with: | |
function: test specific --run='TestCLI|TestEngine' --race=true --parallel=16 | |
timeout: 20 | |
sdk-go-on-depot-remote-engine: | |
needs: docs-lint-on-depot-remote-engine | |
uses: ./.github/workflows/_dagger_on_depot_remote_engine.yml | |
with: | |
function: check --targets=sdk/go | |
sdk-go-dev-on-depot-local-engine: | |
needs: sdk-go-on-depot-remote-engine | |
uses: ./.github/workflows/_dagger_on_depot_local_engine.yml | |
with: | |
function: check --targets=sdk/go | |
dev: true | |
timeout: 15 | |
sdk-python-on-depot-remote-engine: | |
needs: docs-lint-on-depot-remote-engine | |
uses: ./.github/workflows/_dagger_on_depot_remote_engine.yml | |
with: | |
function: check --targets=sdk/python | |
sdk-python-dev-on-depot-local-engine: | |
needs: sdk-python-on-depot-remote-engine | |
uses: ./.github/workflows/_dagger_on_depot_local_engine.yml | |
with: | |
function: check --targets=sdk/python | |
dev: true | |
sdk-typescript-on-depot-remote-engine: | |
needs: docs-lint-on-depot-remote-engine | |
uses: ./.github/workflows/_dagger_on_depot_remote_engine.yml | |
with: | |
function: check --targets=sdk/typescript | |
sdk-typescript-dev-on-depot-local-engine: | |
needs: sdk-typescript-on-depot-remote-engine | |
uses: ./.github/workflows/_dagger_on_depot_local_engine.yml | |
with: | |
function: check --targets=sdk/typescript | |
dev: true |