Skip to content

chore(deps): bump the sdk-typescript group across 1 directory with 17 updates #79

chore(deps): bump the sdk-typescript group across 1 directory with 17 updates

chore(deps): bump the sdk-typescript group across 1 directory with 17 updates #79

name: Engine & CLI
on:
push:
branches: ["main"]
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
# Enable manual trigger for easy debugging
workflow_dispatch:
permissions:
contents: read
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint:
runs-on: "${{ github.repository == 'dagger/dagger' && 'dagger-g2-v0-12-5-4c' || 'ubuntu-latest' }}"
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: "engine lint"
uses: ./.github/actions/call
with:
function: "engine lint"
- name: "scripts lint"
uses: ./.github/actions/call
with:
function: "scripts lint"
test:
runs-on: "${{ github.repository == 'dagger/dagger' && 'dagger-g2-v0-12-5-16c-st-od' || 'ubuntu-latest' }}"
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: "test"
uses: ./.github/actions/call
with:
function: "test all --race=true --parallel=16"
upload-logs: true
test-modules:
runs-on: "${{ github.repository == 'dagger/dagger' && 'dagger-g2-v0-12-5-16c-st-od' || 'ubuntu-latest' }}"
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: "test"
uses: ./.github/actions/call
with:
function: "test specific --run=TestModule --race=true --parallel=16"
upload-logs: true
test-everything-else:
runs-on: "${{ github.repository == 'dagger/dagger' && 'dagger-g2-v0-12-5-16c-st-od' || 'ubuntu-latest' }}"
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: "test"
uses: ./.github/actions/call
with:
function: "test specific --skip=TestModule --race=true --parallel=16"
upload-logs: true
# 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:
runs-on: "${{ github.repository == 'dagger/dagger' && 'dagger-g2-v0-12-5-32c-dind-st-od' || 'ubuntu-latest' }}"
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: "testdev"
uses: ./.github/actions/call
with:
function: "test specific --run='TestModule|TestContainer' --race=true --parallel=16"
dev-engine: true
upload-logs: true
test-publish:
runs-on: "${{ github.repository == 'dagger/dagger' && 'dagger-g2-v0-12-5-4c' || 'ubuntu-latest' }}"
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: "test publish cli"
uses: ./.github/actions/call
with:
function: "cli test-publish"
- name: "test publish engine"
uses: ./.github/actions/call
with:
function: "engine test-publish"
- name: "test publish engine (gpu)"
uses: ./.github/actions/call
with:
function: "engine with-base --image=ubuntu --gpu-support=true test-publish"
scan-engine:
runs-on: "${{ github.repository == 'dagger/dagger' && 'dagger-g2-v0-12-5-4c' || 'ubuntu-latest' }}"
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: "scan"
uses: ./.github/actions/call
with:
function: "engine scan"