Repository navigation
Replace work-queue protocol v3 with time-free v4 #4876
This file contains hidden or 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: Work Queue Compilation Integration | |
| on: | |
| pull_request: | |
| paths: | |
| - '.github/workflows/work-queue-integration.yml' | |
| - 'actions/setup/js/work_queue*' | |
| - 'actions/setup/js/finish_work_queue_claim*' | |
| - 'actions/setup/js/setup_sh_file_lists.test.cjs' | |
| - 'actions/setup/js/write_work_queue_snapshot*' | |
| - 'actions/setup/setup.sh' | |
| - 'pkg/constants/**' | |
| - 'pkg/workflow/**' | |
| - 'specs/work-queue/**' | |
| - 'go.mod' | |
| - 'go.sum' | |
| push: | |
| branches: [main] | |
| paths: | |
| - '.github/workflows/work-queue-integration.yml' | |
| - 'actions/setup/js/work_queue*' | |
| - 'actions/setup/js/finish_work_queue_claim*' | |
| - 'actions/setup/js/setup_sh_file_lists.test.cjs' | |
| - 'actions/setup/js/write_work_queue_snapshot*' | |
| - 'actions/setup/setup.sh' | |
| - 'pkg/constants/**' | |
| - 'pkg/workflow/**' | |
| - 'specs/work-queue/**' | |
| - 'go.mod' | |
| - 'go.sum' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| compilation-phases: | |
| name: Compile queue phases | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Set up Go | |
| uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v5 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| - name: Compile activation, agent, and safe-outputs phases | |
| run: go test -tags=integration ./pkg/workflow -run '^TestWorkQueueCompilationPhases$' -count=1 |