fix: ensure nested frontend builds get secret translation (#7595) #1
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: Engine & CLI | |
on: | |
push: | |
branches: ["main"] | |
paths-ignore: | |
- docs/** | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- ready_for_review | |
paths-ignore: | |
- docs/** | |
# Enable manual trigger for easy debugging | |
workflow_dispatch: | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
test: | |
uses: ./.github/workflows/_dagger_call.yml | |
secrets: inherit | |
with: | |
function: test all --race=true --parallel=16 | |
size: "dagger-v0-11-6-16c-nvme" | |
# Run Engine tests in dev Engine so that we can spot integration failures early | |
# Only run a subset of important test cases since we just need to verify basic | |
# functionality rather than repeat every test already run in the other targets. | |
testdev: | |
uses: ./.github/workflows/_dagger_call.yml | |
secrets: inherit | |
with: | |
function: test important --race=true --parallel=16 | |
dev-engine: true | |
test-publish-cli: | |
uses: ./.github/workflows/_dagger_call.yml | |
secrets: inherit | |
with: | |
function: cli test-publish | |
test-publish-engine: | |
uses: ./.github/workflows/_dagger_call.yml | |
secrets: inherit | |
with: | |
function: engine test-publish | |
test-publish-engine-gpu: | |
uses: ./.github/workflows/_dagger_call.yml | |
secrets: inherit | |
with: | |
function: engine with-base --image=ubuntu --gpu-support=true test-publish | |
scan-engine: | |
name: "Scan Engine Image for Vulnerabilities" | |
uses: ./.github/workflows/_dagger_call.yml | |
secrets: inherit | |
with: | |
function: engine scan |