| 1 | name: PR checks |
| 2 | |
| 3 | # PR Checks run on all PRs to the main branch and must pass before merging. |
| 4 | on: |
| 5 | pull_request: |
| 6 | branches: |
| 7 | - main |
| 8 | |
| 9 | push: |
| 10 | branches: |
| 11 | - main |
| 12 | |
| 13 | jobs: |
| 14 | install-root: |
| 15 | runs-on: ubuntu-latest |
| 16 | steps: |
| 17 | - uses: actions/checkout@v4 |
| 18 | |
| 19 | - uses: actions/setup-node@v4 |
| 20 | with: |
| 21 | node-version-file: ".nvmrc" |
| 22 | |
| 23 | - uses: actions/cache@v4 |
| 24 | id: root-cache |
| 25 | with: |
| 26 | path: node_modules |
| 27 | key: ${{ runner.os }}-root-node-modules-${{ hashFiles('package-lock.json') }} |
| 28 | |
| 29 | - name: Install root dependencies |
| 30 | if: steps.root-cache.outputs.cache-hit != 'true' |
| 31 | run: npm ci |
| 32 | |
| 33 | prettier-check: |
| 34 | needs: install-root |
| 35 | runs-on: ubuntu-latest |
| 36 | steps: |
| 37 | - uses: actions/checkout@v4 |
| 38 | |
| 39 | - uses: actions/setup-node@v4 |
| 40 | with: |
| 41 | node-version-file: ".nvmrc" |
| 42 | |
| 43 | - uses: actions/cache@v4 |
| 44 | with: |
| 45 | path: node_modules |
| 46 | key: ${{ runner.os }}-root-node-modules-${{ hashFiles('package-lock.json') }} |
| 47 | |
| 48 | - name: Check code formatting with Prettier |
| 49 | run: npx prettier --check "**/*.{js,jsx,ts,tsx,json,css,md}" --ignore-path .gitignore --ignore-path .prettierignore |
| 50 | |
| 51 | install-config-yaml: |
| 52 | needs: install-root |
| 53 | runs-on: ubuntu-latest |
| 54 | steps: |
| 55 | - uses: actions/checkout@v4 |
| 56 | |
| 57 | - uses: actions/setup-node@v4 |
| 58 | with: |
| 59 | node-version-file: ".nvmrc" |
| 60 | |
| 61 | - uses: actions/cache@v4 |
| 62 | with: |
| 63 | path: node_modules |
| 64 | key: ${{ runner.os }}-root-node-modules-${{ hashFiles('package-lock.json') }} |
| 65 | |
| 66 | - uses: actions/cache@v4 |
| 67 | id: config-yaml-cache |
| 68 | with: |
| 69 | path: packages/config-yaml/node_modules |
| 70 | key: ${{ runner.os }}-config-yaml-node-modules-${{ hashFiles('packages/config-yaml/package-lock.json') }} |
| 71 | |
| 72 | - name: Install config-yaml dependencies |
| 73 | if: steps.config-yaml-cache.outputs.cache-hit != 'true' |
| 74 | run: | |
| 75 | cd packages/config-yaml |
| 76 | npm ci |
| 77 | |
| 78 | install-openai-adapters: |
| 79 | needs: install-root |
| 80 | runs-on: ubuntu-latest |
| 81 | steps: |
| 82 | - uses: actions/checkout@v4 |
| 83 | |
| 84 | - uses: actions/setup-node@v4 |
| 85 | with: |
| 86 | node-version-file: ".nvmrc" |
| 87 | |
| 88 | - uses: actions/cache@v4 |
| 89 | with: |
| 90 | path: node_modules |
| 91 | key: ${{ runner.os }}-root-node-modules-${{ hashFiles('package-lock.json') }} |
| 92 | |
| 93 | - uses: actions/cache@v4 |
| 94 | id: openai-adapters-cache |
| 95 | with: |
| 96 | path: packages/openai-adapters/node_modules |
| 97 | key: ${{ runner.os }}-openai-adapters-node-modules-${{ hashFiles('packages/openai-adapters/package-lock.json') }} |
| 98 | |
| 99 | - name: Install openai-adapters dependencies |
| 100 | if: steps.openai-adapters-cache.outputs.cache-hit != 'true' |
| 101 | run: | |
| 102 | cd packages/openai-adapters |
| 103 | npm ci |
| 104 | |
| 105 | config-yaml-checks: |
| 106 | needs: install-config-yaml |
| 107 | runs-on: ubuntu-latest |
| 108 | steps: |
| 109 | - uses: actions/checkout@v4 |
| 110 | |
| 111 | - uses: actions/setup-node@v4 |
| 112 | with: |
| 113 | node-version-file: ".nvmrc" |
| 114 | |
| 115 | - uses: actions/cache@v4 |
| 116 | with: |
| 117 | path: node_modules |
| 118 | key: ${{ runner.os }}-root-node-modules-${{ hashFiles('package-lock.json') }} |
| 119 | |
| 120 | - uses: actions/cache@v4 |
| 121 | id: config-yaml-cache |
| 122 | with: |
| 123 | path: packages/config-yaml/node_modules |
| 124 | key: ${{ runner.os }}-config-yaml-node-modules-${{ hashFiles('packages/config-yaml/package-lock.json') }} |
| 125 | |
| 126 | - name: Build and check config-yaml |
| 127 | run: | |
| 128 | cd packages/config-yaml |
| 129 | npx tsc --noEmit |
| 130 | # Tests are currently failing, commenting out for now |
| 131 | # npm test |
| 132 | npm run build |
| 133 | |
| 134 | install-core: |
| 135 | needs: install-root |
| 136 | runs-on: ubuntu-latest |
| 137 | steps: |
| 138 | - uses: actions/checkout@v4 |
| 139 | |
| 140 | - uses: actions/setup-node@v4 |
| 141 | with: |
| 142 | node-version-file: ".nvmrc" |
| 143 | |
| 144 | - uses: actions/cache@v4 |
| 145 | id: root-cache |
| 146 | with: |
| 147 | path: node_modules |
| 148 | key: ${{ runner.os }}-root-node-modules-${{ hashFiles('package-lock.json') }} |
| 149 | |
| 150 | - uses: actions/cache@v4 |
| 151 | id: core-cache |
| 152 | with: |
| 153 | path: core/node_modules |
| 154 | key: ${{ runner.os }}-core-node-modules-${{ hashFiles('core/package-lock.json') }} |
| 155 | |
| 156 | - name: Install core dependencies |
| 157 | if: steps.core-cache.outputs.cache-hit != 'true' |
| 158 | run: | |
| 159 | cd core |
| 160 | npm ci |
| 161 | |
| 162 | core-checks: |
| 163 | needs: [install-core, install-config-yaml, install-openai-adapters] |
| 164 | runs-on: ubuntu-latest |
| 165 | steps: |
| 166 | - uses: actions/checkout@v4 |
| 167 | |
| 168 | - uses: actions/setup-node@v4 |
| 169 | with: |
| 170 | node-version-file: ".nvmrc" |
| 171 | |
| 172 | - uses: actions/cache@v4 |
| 173 | id: root-cache |
| 174 | with: |
| 175 | path: node_modules |
| 176 | key: ${{ runner.os }}-root-node-modules-${{ hashFiles('package-lock.json') }} |
| 177 | |
| 178 | - uses: actions/cache@v4 |
| 179 | id: core-cache |
| 180 | with: |
| 181 | path: core/node_modules |
| 182 | key: ${{ runner.os }}-core-node-modules-${{ hashFiles('core/package-lock.json') }} |
| 183 | |
| 184 | - uses: actions/cache@v4 |
| 185 | id: config-yaml-cache |
| 186 | with: |
| 187 | path: packages/config-yaml/node_modules |
| 188 | key: ${{ runner.os }}-config-yaml-node-modules-${{ hashFiles('packages/config-yaml/package-lock.json') }} |
| 189 | |
| 190 | - uses: actions/cache@v4 |
| 191 | id: openai-adapters-cache |
| 192 | with: |
| 193 | path: packages/openai-adapters/node_modules |
| 194 | key: ${{ runner.os }}-openai-adapters-node-modules-${{ hashFiles('packages/openai-adapters/package-lock.json') }} |
| 195 | |
| 196 | - name: Build config-yaml |
| 197 | run: | |
| 198 | cd packages/config-yaml |
| 199 | npm run build |
| 200 | |
| 201 | - name: Build openai-adapters |
| 202 | run: | |
| 203 | cd packages/openai-adapters |
| 204 | npm run build |
| 205 | - name: Type check and lint |
| 206 | run: | |
| 207 | cd core |
| 208 | npx tsc --noEmit |
| 209 | npm run lint |
| 210 | env: |
| 211 | OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} |
| 212 | |
| 213 | install-gui: |
| 214 | needs: |
| 215 | [install-root, install-core, install-config-yaml, install-openai-adapters] |
| 216 | runs-on: ubuntu-latest |
| 217 | steps: |
| 218 | - uses: actions/checkout@v4 |
| 219 | |
| 220 | - uses: actions/setup-node@v4 |
| 221 | with: |
| 222 | node-version-file: ".nvmrc" |
| 223 | |
| 224 | - uses: actions/cache@v4 |
| 225 | with: |
| 226 | path: node_modules |
| 227 | key: ${{ runner.os }}-root-node-modules-${{ hashFiles('package-lock.json') }} |
| 228 | |
| 229 | - uses: actions/cache@v4 |
| 230 | with: |
| 231 | path: core/node_modules |
| 232 | key: ${{ runner.os }}-core-node-modules-${{ hashFiles('core/package-lock.json') }} |
| 233 | |
| 234 | - uses: actions/cache@v4 |
| 235 | id: gui-cache |
| 236 | with: |
| 237 | path: gui/node_modules |
| 238 | key: ${{ runner.os }}-gui-node-modules-${{ hashFiles('gui/package-lock.json') }} |
| 239 | |
| 240 | - uses: actions/cache@v4 |
| 241 | id: config-yaml-cache |
| 242 | with: |
| 243 | path: packages/config-yaml/node_modules |
| 244 | key: ${{ runner.os }}-config-yaml-node-modules-${{ hashFiles('packages/config-yaml/package-lock.json') }} |
| 245 | |
| 246 | - uses: actions/cache@v4 |
| 247 | id: openai-adapters-cache |
| 248 | with: |
| 249 | path: packages/openai-adapters/node_modules |
| 250 | key: ${{ runner.os }}-openai-adapters-node-modules-${{ hashFiles('packages/openai-adapters/package-lock.json') }} |
| 251 | |
| 252 | - name: Build config-yaml |
| 253 | run: | |
| 254 | cd packages/config-yaml |
| 255 | npm run build |
| 256 | |
| 257 | - name: Build openai-adapters |
| 258 | run: | |
| 259 | cd packages/openai-adapters |
| 260 | npm run build |
| 261 | |
| 262 | - name: Install gui dependencies |
| 263 | if: steps.gui-cache.outputs.cache-hit != 'true' |
| 264 | run: | |
| 265 | cd gui |
| 266 | npm ci |
| 267 | |
| 268 | gui-checks: |
| 269 | needs: install-gui |
| 270 | runs-on: ubuntu-latest |
| 271 | steps: |
| 272 | - uses: actions/checkout@v4 |
| 273 | - uses: actions/setup-node@v4 |
| 274 | with: |
| 275 | node-version-file: ".nvmrc" |
| 276 | |
| 277 | - uses: actions/cache@v4 |
| 278 | with: |
| 279 | path: node_modules |
| 280 | key: ${{ runner.os }}-root-node-modules-${{ hashFiles('package-lock.json') }} |
| 281 | |
| 282 | - uses: actions/cache@v4 |
| 283 | with: |
| 284 | path: core/node_modules |
| 285 | key: ${{ runner.os }}-core-node-modules-${{ hashFiles('core/package-lock.json') }} |
| 286 | |
| 287 | - uses: actions/cache@v4 |
| 288 | id: gui-cache |
| 289 | with: |
| 290 | path: gui/node_modules |
| 291 | key: ${{ runner.os }}-gui-node-modules-${{ hashFiles('gui/package-lock.json') }} |
| 292 | |
| 293 | - uses: actions/cache@v4 |
| 294 | id: openai-adapters-cache |
| 295 | with: |
| 296 | path: packages/openai-adapters/node_modules |
| 297 | key: ${{ runner.os }}-openai-adapters-node-modules-${{ hashFiles('packages/openai-adapters/package-lock.json') }} |
| 298 | |
| 299 | - uses: actions/cache@v4 |
| 300 | id: config-yaml-cache |
| 301 | with: |
| 302 | path: packages/config-yaml/node_modules |
| 303 | key: ${{ runner.os }}-config-yaml-node-modules-${{ hashFiles('packages/config-yaml/package-lock.json') }} |
| 304 | |
| 305 | - name: Build config-yaml |
| 306 | run: | |
| 307 | cd packages/config-yaml |
| 308 | npm run build |
| 309 | |
| 310 | - name: Build openai-adapters |
| 311 | run: | |
| 312 | cd packages/openai-adapters |
| 313 | npm run build |
| 314 | |
| 315 | - name: Type check and lint |
| 316 | run: | |
| 317 | cd gui |
| 318 | npx tsc --noEmit |
| 319 | npm run lint |
| 320 | |
| 321 | binary-checks: |
| 322 | needs: |
| 323 | [install-root, install-core, install-config-yaml, install-openai-adapters] |
| 324 | runs-on: ubuntu-latest |
| 325 | steps: |
| 326 | - uses: actions/checkout@v4 |
| 327 | |
| 328 | - uses: actions/setup-node@v4 |
| 329 | with: |
| 330 | node-version-file: ".nvmrc" |
| 331 | |
| 332 | - uses: actions/cache@v4 |
| 333 | with: |
| 334 | path: node_modules |
| 335 | key: ${{ runner.os }}-root-node-modules-${{ hashFiles('package-lock.json') }} |
| 336 | |
| 337 | - uses: actions/cache@v4 |
| 338 | with: |
| 339 | path: core/node_modules |
| 340 | key: ${{ runner.os }}-core-node-modules-${{ hashFiles('core/package-lock.json') }} |
| 341 | |
| 342 | - uses: actions/cache@v4 |
| 343 | id: binary-cache |
| 344 | with: |
| 345 | path: binary/node_modules |
| 346 | key: ${{ runner.os }}-binary-node-modules-${{ hashFiles('binary/package-lock.json') }} |
| 347 | |
| 348 | - uses: actions/cache@v4 |
| 349 | id: config-yaml-cache |
| 350 | with: |
| 351 | path: packages/config-yaml/node_modules |
| 352 | key: ${{ runner.os }}-config-yaml-node-modules-${{ hashFiles('packages/config-yaml/package-lock.json') }} |
| 353 | |
| 354 | - uses: actions/cache@v4 |
| 355 | id: openai-adapters-cache |
| 356 | with: |
| 357 | path: packages/openai-adapters/node_modules |
| 358 | key: ${{ runner.os }}-openai-adapters-node-modules-${{ hashFiles('packages/openai-adapters/package-lock.json') }} |
| 359 | |
| 360 | - name: Build config-yaml |
| 361 | run: | |
| 362 | cd packages/config-yaml |
| 363 | npm run build |
| 364 | |
| 365 | - name: Build openai-adapters |
| 366 | run: | |
| 367 | cd packages/openai-adapters |
| 368 | npm run build |
| 369 | |
| 370 | - name: Install binary dependencies |
| 371 | if: steps.binary-cache.outputs.cache-hit != 'true' |
| 372 | run: | |
| 373 | cd binary |
| 374 | npm ci |
| 375 | |
| 376 | - name: Type check |
| 377 | run: | |
| 378 | cd binary |
| 379 | npx tsc --noEmit |
| 380 | |
| 381 | install-vscode: |
| 382 | needs: |
| 383 | [install-root, install-core, install-config-yaml, install-openai-adapters] |
| 384 | runs-on: ubuntu-latest |
| 385 | steps: |
| 386 | - uses: actions/checkout@v4 |
| 387 | |
| 388 | - uses: actions/setup-node@v4 |
| 389 | with: |
| 390 | node-version-file: ".nvmrc" |
| 391 | |
| 392 | - uses: actions/cache@v4 |
| 393 | with: |
| 394 | path: node_modules |
| 395 | key: ${{ runner.os }}-root-node-modules-${{ hashFiles('package-lock.json') }} |
| 396 | |
| 397 | - uses: actions/cache@v4 |
| 398 | with: |
| 399 | path: core/node_modules |
| 400 | key: ${{ runner.os }}-core-node-modules-${{ hashFiles('core/package-lock.json') }} |
| 401 | |
| 402 | - uses: actions/cache@v4 |
| 403 | id: vscode-cache |
| 404 | with: |
| 405 | path: extensions/vscode/node_modules |
| 406 | key: ${{ runner.os }}-vscode-node-modules-${{ hashFiles('extensions/vscode/package-lock.json') }} |
| 407 | |
| 408 | - uses: actions/cache@v4 |
| 409 | id: config-yaml-cache |
| 410 | with: |
| 411 | path: packages/config-yaml/node_modules |
| 412 | key: ${{ runner.os }}-config-yaml-node-modules-${{ hashFiles('packages/config-yaml/package-lock.json') }} |
| 413 | |
| 414 | - uses: actions/cache@v4 |
| 415 | id: openai-adapters-cache |
| 416 | with: |
| 417 | path: packages/openai-adapters/node_modules |
| 418 | key: ${{ runner.os }}-openai-adapters-node-modules-${{ hashFiles('packages/openai-adapters/package-lock.json') }} |
| 419 | |
| 420 | - name: Build config-yaml |
| 421 | run: | |
| 422 | cd packages/config-yaml |
| 423 | npm run build |
| 424 | |
| 425 | - name: Build openai-adapters |
| 426 | run: | |
| 427 | cd packages/openai-adapters |
| 428 | npm run build |
| 429 | |
| 430 | - name: Install vscode dependencies |
| 431 | if: steps.vscode-cache.outputs.cache-hit != 'true' |
| 432 | run: | |
| 433 | cd extensions/vscode |
| 434 | npm ci |
| 435 | env: |
| 436 | GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }} |
| 437 | |
| 438 | vscode-checks: |
| 439 | needs: install-vscode |
| 440 | runs-on: ubuntu-latest |
| 441 | steps: |
| 442 | - uses: actions/checkout@v4 |
| 443 | |
| 444 | - uses: actions/setup-node@v4 |
| 445 | with: |
| 446 | node-version-file: ".nvmrc" |
| 447 | |
| 448 | - uses: actions/cache@v4 |
| 449 | with: |
| 450 | path: node_modules |
| 451 | key: ${{ runner.os }}-root-node-modules-${{ hashFiles('package-lock.json') }} |
| 452 | |
| 453 | - uses: actions/cache@v4 |
| 454 | with: |
| 455 | path: core/node_modules |
| 456 | key: ${{ runner.os }}-core-node-modules-${{ hashFiles('core/package-lock.json') }} |
| 457 | |
| 458 | - uses: actions/cache@v4 |
| 459 | id: vscode-cache |
| 460 | with: |
| 461 | path: extensions/vscode/node_modules |
| 462 | key: ${{ runner.os }}-vscode-node-modules-${{ hashFiles('extensions/vscode/package-lock.json') }} |
| 463 | |
| 464 | - uses: actions/cache@v4 |
| 465 | id: config-yaml-cache |
| 466 | with: |
| 467 | path: packages/config-yaml/node_modules |
| 468 | key: ${{ runner.os }}-config-yaml-node-modules-${{ hashFiles('packages/config-yaml/package-lock.json') }} |
| 469 | |
| 470 | - uses: actions/cache@v4 |
| 471 | id: openai-adapters-cache |
| 472 | with: |
| 473 | path: packages/openai-adapters/node_modules |
| 474 | key: ${{ runner.os }}-openai-adapters-node-modules-${{ hashFiles('packages/openai-adapters/package-lock.json') }} |
| 475 | |
| 476 | - name: Build config-yaml |
| 477 | run: | |
| 478 | cd packages/config-yaml |
| 479 | npm run build |
| 480 | |
| 481 | - name: Build openai-adapters |
| 482 | run: | |
| 483 | cd packages/openai-adapters |
| 484 | npm run build |
| 485 | |
| 486 | - name: Type check and lint |
| 487 | run: | |
| 488 | cd extensions/vscode |
| 489 | npm run write-build-timestamp |
| 490 | npx tsc --noEmit |
| 491 | npm run lint |
| 492 | |
| 493 | - name: Run vitest tests |
| 494 | run: | |
| 495 | cd extensions/vscode |
| 496 | npm run vitest |
| 497 | |
| 498 | core-tests: |
| 499 | needs: [install-core, install-config-yaml, install-openai-adapters] |
| 500 | runs-on: ubuntu-latest |
| 501 | steps: |
| 502 | - uses: actions/checkout@v4 |
| 503 | |
| 504 | - uses: actions/setup-node@v4 |
| 505 | with: |
| 506 | node-version-file: ".nvmrc" |
| 507 | |
| 508 | - uses: actions/cache@v4 |
| 509 | with: |
| 510 | path: core/node_modules |
| 511 | key: ${{ runner.os }}-core-node-modules-${{ hashFiles('core/package-lock.json') }} |
| 512 | |
| 513 | - uses: actions/cache@v4 |
| 514 | id: config-yaml-cache |
| 515 | with: |
| 516 | path: packages/config-yaml/node_modules |
| 517 | key: ${{ runner.os }}-config-yaml-node-modules-${{ hashFiles('packages/config-yaml/package-lock.json') }} |
| 518 | |
| 519 | - uses: actions/cache@v4 |
| 520 | id: openai-adapters-cache |
| 521 | with: |
| 522 | path: packages/openai-adapters/node_modules |
| 523 | key: ${{ runner.os }}-openai-adapters-node-modules-${{ hashFiles('packages/openai-adapters/package-lock.json') }} |
| 524 | |
| 525 | - name: Build config-yaml |
| 526 | run: | |
| 527 | cd packages/config-yaml |
| 528 | npm run build |
| 529 | |
| 530 | - name: Build openai-adapters |
| 531 | run: | |
| 532 | cd packages/openai-adapters |
| 533 | npm run build |
| 534 | |
| 535 | - name: Run core tests |
| 536 | run: | |
| 537 | cd core |
| 538 | npm test |
| 539 | npm run vitest |
| 540 | env: |
| 541 | IGNORE_API_KEY_TESTS: ${{ github.event.pull_request.head.repo.fork == true || github.actor == 'dependabot[bot]' }} |
| 542 | OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} |
| 543 | ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} |
| 544 | GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }} |
| 545 | MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }} |
| 546 | AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }} |
| 547 | AZURE_FOUNDRY_CODESTRAL_API_KEY: ${{ secrets.AZURE_FOUNDRY_CODESTRAL_API_KEY }} |
| 548 | AZURE_FOUNDRY_MISTRAL_SMALL_API_KEY: ${{ secrets.AZURE_FOUNDRY_MISTRAL_SMALL_API_KEY }} |
| 549 | AZURE_OPENAI_GPT41_API_KEY: ${{ secrets.AZURE_OPENAI_GPT41_API_KEY }} |
| 550 | |
| 551 | package-tests: |
| 552 | runs-on: ubuntu-latest |
| 553 | steps: |
| 554 | - uses: actions/checkout@v4 |
| 555 | |
| 556 | - uses: actions/setup-node@v4 |
| 557 | with: |
| 558 | node-version-file: ".nvmrc" |
| 559 | |
| 560 | - uses: actions/cache@v4 |
| 561 | with: |
| 562 | path: core/node_modules |
| 563 | key: ${{ runner.os }}-config-yaml-node-modules-${{ hashFiles('packages/config-yaml/package-lock.json') }} |
| 564 | |
| 565 | - name: Install dependencies |
| 566 | run: | |
| 567 | cd packages/config-yaml |
| 568 | npm ci |
| 569 | |
| 570 | - name: Run config-yaml tests |
| 571 | run: | |
| 572 | cd packages/config-yaml |
| 573 | npm test |
| 574 | |
| 575 | openai-adapters-tests: |
| 576 | needs: install-openai-adapters |
| 577 | runs-on: ubuntu-latest |
| 578 | steps: |
| 579 | - uses: actions/checkout@v4 |
| 580 | |
| 581 | - uses: actions/setup-node@v4 |
| 582 | with: |
| 583 | node-version-file: ".nvmrc" |
| 584 | |
| 585 | - uses: actions/cache@v4 |
| 586 | with: |
| 587 | path: node_modules |
| 588 | key: ${{ runner.os }}-root-node-modules-${{ hashFiles('package-lock.json') }} |
| 589 | |
| 590 | - uses: actions/cache@v4 |
| 591 | id: openai-adapters-cache |
| 592 | with: |
| 593 | path: packages/openai-adapters/node_modules |
| 594 | key: ${{ runner.os }}-openai-adapters-node-modules-${{ hashFiles('packages/openai-adapters/package-lock.json') }} |
| 595 | |
| 596 | - name: Run openai-adapters tests |
| 597 | run: | |
| 598 | cd packages/openai-adapters |
| 599 | npm test |
| 600 | env: |
| 601 | IGNORE_API_KEY_TESTS: ${{ github.event.pull_request.head.repo.fork == true || github.actor == 'dependabot[bot]' }} |
| 602 | OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} |
| 603 | ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} |
| 604 | GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }} |
| 605 | MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }} |
| 606 | AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }} |
| 607 | AZURE_FOUNDRY_CODESTRAL_API_KEY: ${{ secrets.AZURE_FOUNDRY_CODESTRAL_API_KEY }} |
| 608 | AZURE_FOUNDRY_MISTRAL_SMALL_API_KEY: ${{ secrets.AZURE_FOUNDRY_MISTRAL_SMALL_API_KEY }} |
| 609 | AZURE_OPENAI_GPT41_API_KEY: ${{ secrets.AZURE_OPENAI_GPT41_API_KEY }} |
| 610 | VOYAGE_API_KEY: ${{ secrets.VOYAGE_API_KEY }} |
| 611 | |
| 612 | vscode-get-test-file-matrix: |
| 613 | runs-on: ubuntu-latest |
| 614 | needs: [install-root, install-vscode, install-config-yaml] |
| 615 | outputs: |
| 616 | test_file_matrix: ${{ steps.vscode-get-test-file-matrix.outputs.test_file_matrix }} |
| 617 | steps: |
| 618 | - uses: actions/checkout@v4 |
| 619 | |
| 620 | - name: Cache node modules |
| 621 | uses: actions/cache@v4 |
| 622 | with: |
| 623 | path: extensions/vscode/node_modules |
| 624 | key: ${{ runner.os }}-vscode-node-modules-${{ hashFiles('extensions/vscode/package-lock.json') }} |
| 625 | |
| 626 | - uses: actions/cache@v4 |
| 627 | id: config-yaml-cache |
| 628 | with: |
| 629 | path: packages/config-yaml/node_modules |
| 630 | key: ${{ runner.os }}-config-yaml-node-modules-${{ hashFiles('packages/config-yaml/package-lock.json') }} |
| 631 | |
| 632 | - name: Build config-yaml |
| 633 | run: | |
| 634 | cd packages/config-yaml |
| 635 | npm run build |
| 636 | |
| 637 | - name: Get test files |
| 638 | id: vscode-get-test-file-matrix |
| 639 | run: | |
| 640 | cd extensions/vscode |
| 641 | npm ci |
| 642 | npm run e2e:compile |
| 643 | if [[ "${{ github.event.pull_request.head.repo.fork }}" == "true" || "${{ github.actor }}" == "dependabot[bot]" ]]; then |
| 644 | # Exclude SSH tests for forks |
| 645 | FILES=$(ls -1 e2e/_output/tests/*.test.js | grep -v "SSH" | jq -R . | jq -s .) |
| 646 | else |
| 647 | # Include all tests for non-forks |
| 648 | FILES=$(ls -1 e2e/_output/tests/*.test.js | jq -R . | jq -s .) |
| 649 | fi |
| 650 | echo "test_file_matrix<<EOF" >> $GITHUB_OUTPUT |
| 651 | echo "$FILES" >> $GITHUB_OUTPUT |
| 652 | echo "EOF" >> $GITHUB_OUTPUT |
| 653 | env: |
| 654 | # https://github.com/microsoft/vscode-ripgrep/issues/9#issuecomment-643965333 |
| 655 | GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }} |
| 656 | |
| 657 | - name: Debug Outputs |
| 658 | run: | |
| 659 | echo "Test files: ${{ steps.vscode-get-test-file-matrix.outputs.test_file_matrix }}" |
| 660 | |
| 661 | vscode-package-extension: |
| 662 | runs-on: ubuntu-latest |
| 663 | needs: |
| 664 | [ |
| 665 | install-vscode, |
| 666 | install-core, |
| 667 | install-config-yaml, |
| 668 | install-openai-adapters, |
| 669 | ] |
| 670 | steps: |
| 671 | - uses: actions/checkout@v4 |
| 672 | |
| 673 | - uses: actions/setup-node@v4 |
| 674 | with: |
| 675 | node-version-file: ".nvmrc" |
| 676 | |
| 677 | - uses: actions/cache@v4 |
| 678 | id: vscode-node-modules-cache |
| 679 | with: |
| 680 | path: extensions/vscode/node_modules |
| 681 | key: ${{ runner.os }}-vscode-node-modules-${{ hashFiles('extensions/vscode/package-lock.json') }} |
| 682 | |
| 683 | - uses: actions/cache@v4 |
| 684 | id: core-node-modules-cache |
| 685 | with: |
| 686 | path: core/node_modules |
| 687 | key: ${{ runner.os }}-core-node-modules-${{ hashFiles('core/package-lock.json') }} |
| 688 | |
| 689 | - uses: actions/cache@v4 |
| 690 | id: config-yaml-cache |
| 691 | with: |
| 692 | path: packages/config-yaml/node_modules |
| 693 | key: ${{ runner.os }}-config-yaml-node-modules-${{ hashFiles('packages/config-yaml/package-lock.json') }} |
| 694 | |
| 695 | - uses: actions/cache@v4 |
| 696 | id: openai-adapters-cache |
| 697 | with: |
| 698 | path: packages/openai-adapters/node_modules |
| 699 | key: ${{ runner.os }}-openai-adapters-node-modules-${{ hashFiles('packages/openai-adapters/package-lock.json') }} |
| 700 | |
| 701 | - name: Build config-yaml |
| 702 | run: | |
| 703 | cd packages/config-yaml |
| 704 | npm run build |
| 705 | |
| 706 | - name: Build openai-adapters |
| 707 | run: | |
| 708 | cd packages/openai-adapters |
| 709 | npm run build |
| 710 | |
| 711 | - name: Package extension |
| 712 | run: | |
| 713 | cd extensions/vscode |
| 714 | npm run package |
| 715 | |
| 716 | - name: Upload build artifact |
| 717 | uses: actions/upload-artifact@v4 |
| 718 | with: |
| 719 | name: vscode-extension-build |
| 720 | path: extensions/vscode/build |
| 721 | |
| 722 | vscode-download-e2e-dependencies: |
| 723 | runs-on: ubuntu-latest |
| 724 | needs: |
| 725 | [ |
| 726 | install-vscode, |
| 727 | install-core, |
| 728 | install-config-yaml, |
| 729 | install-openai-adapters, |
| 730 | ] |
| 731 | steps: |
| 732 | - uses: actions/checkout@v4 |
| 733 | |
| 734 | - uses: actions/setup-node@v4 |
| 735 | with: |
| 736 | node-version-file: ".nvmrc" |
| 737 | |
| 738 | - uses: actions/cache@v4 |
| 739 | id: vscode-node-modules-cache |
| 740 | with: |
| 741 | path: extensions/vscode/node_modules |
| 742 | key: ${{ runner.os }}-vscode-node-modules-${{ hashFiles('extensions/vscode/package-lock.json') }} |
| 743 | |
| 744 | - uses: actions/cache@v4 |
| 745 | id: storage-cache |
| 746 | with: |
| 747 | path: extensions/vscode/e2e/storage |
| 748 | key: ${{ runner.os }}-vscode-storage-${{ hashFiles('extensions/vscode/package-lock.json') }} |
| 749 | |
| 750 | - uses: actions/cache@v4 |
| 751 | id: config-yaml-cache |
| 752 | with: |
| 753 | path: packages/config-yaml/node_modules |
| 754 | key: ${{ runner.os }}-config-yaml-node-modules-${{ hashFiles('packages/config-yaml/package-lock.json') }} |
| 755 | |
| 756 | - name: Build config-yaml |
| 757 | run: | |
| 758 | cd packages/config-yaml |
| 759 | npm run build |
| 760 | |
| 761 | - name: Download Dependencies |
| 762 | if: steps.storage-cache.outputs.cache-hit != 'true' |
| 763 | run: | |
| 764 | cd extensions/vscode |
| 765 | npm run e2e:ci:download |
| 766 | |
| 767 | - name: Upload e2e dependencies |
| 768 | uses: actions/upload-artifact@v4 |
| 769 | with: |
| 770 | name: vscode-e2e-dependencies |
| 771 | path: extensions/vscode/e2e/storage |
| 772 | |
| 773 | vscode-e2e-tests: |
| 774 | name: ${{ matrix.test_file || 'unknown' }} (${{ matrix.command }}) |
| 775 | needs: |
| 776 | [ |
| 777 | vscode-download-e2e-dependencies, |
| 778 | vscode-get-test-file-matrix, |
| 779 | vscode-package-extension, |
| 780 | install-vscode, |
| 781 | install-core, |
| 782 | install-config-yaml, |
| 783 | install-openai-adapters, |
| 784 | ] |
| 785 | runs-on: ubuntu-latest |
| 786 | # Tests requiring secrets need approval from maintainers |
| 787 | strategy: |
| 788 | fail-fast: false |
| 789 | matrix: |
| 790 | test_file: ${{ fromJson(needs.vscode-get-test-file-matrix.outputs.test_file_matrix) }} |
| 791 | command: ["e2e:ci:run", "e2e:ci:run-yaml"] |
| 792 | steps: |
| 793 | - uses: actions/checkout@v4 |
| 794 | |
| 795 | - uses: actions/setup-node@v4 |
| 796 | with: |
| 797 | node-version-file: ".nvmrc" |
| 798 | |
| 799 | - uses: actions/cache@v4 |
| 800 | id: vscode-node-modules-cache |
| 801 | with: |
| 802 | path: extensions/vscode/node_modules |
| 803 | key: ${{ runner.os }}-vscode-node-modules-${{ hashFiles('extensions/vscode/package-lock.json') }} |
| 804 | |
| 805 | # We don't want to cache the Continue extension, so it is deleted at the end of the job |
| 806 | - uses: actions/cache@v4 |
| 807 | id: test-extensions-cache |
| 808 | with: |
| 809 | path: extensions/vscode/e2e/.test-extensions |
| 810 | key: CONSTANT |
| 811 | |
| 812 | - name: Download build artifact |
| 813 | uses: actions/download-artifact@v4 |
| 814 | with: |
| 815 | name: vscode-extension-build |
| 816 | path: extensions/vscode/build |
| 817 | |
| 818 | - name: Download e2e dependencies |
| 819 | uses: actions/download-artifact@v4 |
| 820 | with: |
| 821 | name: vscode-e2e-dependencies |
| 822 | path: extensions/vscode/e2e/storage |
| 823 | |
| 824 | - uses: actions/cache@v4 |
| 825 | id: config-yaml-cache |
| 826 | with: |
| 827 | path: packages/config-yaml/node_modules |
| 828 | key: ${{ runner.os }}-config-yaml-node-modules-${{ hashFiles('packages/config-yaml/package-lock.json') }} |
| 829 | |
| 830 | - uses: actions/cache@v4 |
| 831 | id: openai-adapters-cache |
| 832 | with: |
| 833 | path: packages/openai-adapters/node_modules |
| 834 | key: ${{ runner.os }}-openai-adapters-node-modules-${{ hashFiles('packages/openai-adapters/package-lock.json') }} |
| 835 | |
| 836 | - name: Build config-yaml |
| 837 | run: | |
| 838 | cd packages/config-yaml |
| 839 | npm run build |
| 840 | |
| 841 | - name: Build openai-adapters |
| 842 | run: | |
| 843 | cd packages/openai-adapters |
| 844 | npm run build |
| 845 | |
| 846 | - name: Fix VSCode binary permissions |
| 847 | run: | |
| 848 | chmod +x extensions/vscode/e2e/storage/VSCode-linux-x64/code |
| 849 | chmod +x extensions/vscode/e2e/storage/chromedriver-linux64/chromedriver |
| 850 | |
| 851 | - name: Set up SSH |
| 852 | env: |
| 853 | SSH_KEY: ${{ secrets.GH_ACTIONS_SSH_TEST_KEY_PEM }} |
| 854 | SSH_HOST: ${{ secrets.GH_ACTIONS_SSH_TEST_DNS_NAME }} |
| 855 | run: | |
| 856 | mkdir -p ~/.ssh |
| 857 | echo "$SSH_KEY" > ~/.ssh/id_rsa |
| 858 | chmod 600 ~/.ssh/id_rsa |
| 859 | ssh-keyscan -H "$SSH_HOST" >> ~/.ssh/known_hosts |
| 860 | echo -e "Host ssh-test-container\n\tHostName $SSH_HOST\n\tUser ec2-user\n\tIdentityFile ~/.ssh/id_rsa" >> ~/.ssh/config |
| 861 | if: ${{ github.event.pull_request.head.repo.fork == false && github.actor != 'dependabot[bot]' }} |
| 862 | |
| 863 | - name: Set up Xvfb |
| 864 | run: | |
| 865 | Xvfb :99 & |
| 866 | export DISPLAY=:99 |
| 867 | |
| 868 | - name: Run e2e tests |
| 869 | run: | |
| 870 | cd extensions/vscode |
| 871 | IGNORE_SSH_TESTS="${{ github.event.pull_request.head.repo.fork == true || github.actor == 'dependabot[bot]' }}" TEST_FILE="${{ matrix.test_file }}" npm run ${{ matrix.command }} |
| 872 | env: |
| 873 | DISPLAY: :99 |
| 874 | |
| 875 | - name: Delete continue from test extensions |
| 876 | run: | |
| 877 | cd extensions/vscode |
| 878 | rm -rf e2e/.test-extensions/continue* |
| 879 | |
| 880 | - name: Sanitize test file name |
| 881 | id: sanitize_filename |
| 882 | if: always() |
| 883 | run: | |
| 884 | FILENAME="${{ matrix.test_file }}" |
| 885 | SANITIZED_FILENAME="${FILENAME//\//-}" # Replace / with - using bash parameter expansion |
| 886 | echo "sanitized_test_file=${SANITIZED_FILENAME}" >> $GITHUB_OUTPUT |
| 887 | |
| 888 | - name: Upload e2e test screenshots |
| 889 | if: failure() |
| 890 | uses: actions/upload-artifact@v4 |
| 891 | with: |
| 892 | name: e2e-failure-screenshots-${{ steps.sanitize_filename.outputs.sanitized_test_file || 'unknown' }}-${{ matrix.command == 'e2e:ci:run-yaml' && 'yaml' || 'json' }} |
| 893 | path: extensions/vscode/e2e/storage/screenshots |
| 894 | |
| 895 | - name: Find e2e log file |
| 896 | if: always() |
| 897 | run: | |
| 898 | echo "Searching for e2e.log file..." |
| 899 | find $GITHUB_WORKSPACE -name "e2e.log" -type f |
| 900 | |
| 901 | - name: Upload e2e logs |
| 902 | if: always() |
| 903 | uses: actions/upload-artifact@v4 |
| 904 | with: |
| 905 | name: e2e-logs-${{ steps.sanitize_filename.outputs.sanitized_test_file || 'unknown' }}-${{ matrix.command == 'e2e:ci:run-yaml' && 'yaml' || 'json' }} |
| 906 | path: extensions/vscode/e2e.log |
| 907 | |
| 908 | gui-tests: |
| 909 | needs: |
| 910 | [install-gui, install-core, install-config-yaml, install-openai-adapters] |
| 911 | runs-on: ubuntu-latest |
| 912 | steps: |
| 913 | - uses: actions/checkout@v4 |
| 914 | |
| 915 | - uses: actions/setup-node@v4 |
| 916 | with: |
| 917 | node-version-file: ".nvmrc" |
| 918 | |
| 919 | - uses: actions/cache@v4 |
| 920 | id: gui-cache |
| 921 | with: |
| 922 | path: gui/node_modules |
| 923 | key: ${{ runner.os }}-gui-node-modules-${{ hashFiles('gui/package-lock.json') }} |
| 924 | |
| 925 | - uses: actions/cache@v4 |
| 926 | with: |
| 927 | path: core/node_modules |
| 928 | key: ${{ runner.os }}-core-node-modules-${{ hashFiles('core/package-lock.json') }} |
| 929 | |
| 930 | - uses: actions/cache@v4 |
| 931 | id: config-yaml-cache |
| 932 | with: |
| 933 | path: packages/config-yaml/node_modules |
| 934 | key: ${{ runner.os }}-config-yaml-node-modules-${{ hashFiles('packages/config-yaml/package-lock.json') }} |
| 935 | |
| 936 | - uses: actions/cache@v4 |
| 937 | id: openai-adapters-cache |
| 938 | with: |
| 939 | path: packages/openai-adapters/node_modules |
| 940 | key: ${{ runner.os }}-openai-adapters-node-modules-${{ hashFiles('packages/openai-adapters/package-lock.json') }} |
| 941 | |
| 942 | - name: Build config-yaml |
| 943 | run: | |
| 944 | cd packages/config-yaml |
| 945 | npm run build |
| 946 | |
| 947 | - name: Build openai-adapters |
| 948 | run: | |
| 949 | cd packages/openai-adapters |
| 950 | npm run build |
| 951 | |
| 952 | - name: Install GUI dependencies |
| 953 | if: steps.gui-cache.outputs.cache-hit != 'true' |
| 954 | run: cd gui && npm ci |
| 955 | env: |
| 956 | GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }} |
| 957 | |
| 958 | - name: Run gui tests |
| 959 | run: | |
| 960 | cd gui |
| 961 | npm test |
| 962 | |
| 963 | jetbrains-tests: |
| 964 | needs: |
| 965 | [install-root, core-checks, install-config-yaml, install-openai-adapters] |
| 966 | runs-on: ubuntu-latest |
| 967 | steps: |
| 968 | - uses: actions/checkout@v4 |
| 969 | - uses: actions/cache@v4 |
| 970 | with: |
| 971 | path: core/node_modules |
| 972 | key: ${{ runner.os }}-core-node-modules-${{ hashFiles('core/package-lock.json') }} |
| 973 | |
| 974 | - uses: actions/cache@v4 |
| 975 | id: config-yaml-cache |
| 976 | with: |
| 977 | path: packages/config-yaml/node_modules |
| 978 | key: ${{ runner.os }}-config-yaml-node-modules-${{ hashFiles('packages/config-yaml/package-lock.json') }} |
| 979 | |
| 980 | - uses: actions/cache@v4 |
| 981 | id: openai-adapters-cache |
| 982 | with: |
| 983 | path: packages/openai-adapters/node_modules |
| 984 | key: ${{ runner.os }}-openai-adapters-node-modules-${{ hashFiles('packages/openai-adapters/package-lock.json') }} |
| 985 | |
| 986 | - name: Build config-yaml |
| 987 | run: | |
| 988 | cd packages/config-yaml |
| 989 | npm run build |
| 990 | |
| 991 | - name: Build openai-adapters |
| 992 | run: | |
| 993 | cd packages/openai-adapters |
| 994 | npm run build |
| 995 | |
| 996 | - name: Setup Java |
| 997 | uses: actions/setup-java@v4.5.0 |
| 998 | with: |
| 999 | distribution: zulu |
| 1000 | java-version: 17 |
| 1001 | |
| 1002 | - name: Setup FFmpeg |
| 1003 | uses: AnimMouse/setup-ffmpeg@v1 |
| 1004 | with: |
| 1005 | token: ${{ secrets.GITHUB_TOKEN }} |
| 1006 | |
| 1007 | - name: Setup Gradle |
| 1008 | uses: gradle/actions/setup-gradle@v3 |
| 1009 | |
| 1010 | - name: Use Node.js from .nvmrc |
| 1011 | uses: actions/setup-node@v4 |
| 1012 | with: |
| 1013 | node-version-file: ".nvmrc" |
| 1014 | |
| 1015 | - uses: actions/cache@v4 |
| 1016 | id: gui-cache |
| 1017 | with: |
| 1018 | path: gui/node_modules |
| 1019 | key: ${{ runner.os }}-gui-node-modules-${{ hashFiles('gui/package-lock.json') }} |
| 1020 | |
| 1021 | # We can shave off another minute off our CI script by finding a way to share this with vscode-tests |
| 1022 | - name: Run prepackage script |
| 1023 | run: | |
| 1024 | cd extensions/vscode |
| 1025 | npm ci |
| 1026 | npm run prepackage |
| 1027 | env: |
| 1028 | # https://github.com/microsoft/vscode-ripgrep/issues/9#issuecomment-643965333 |
| 1029 | GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }} |
| 1030 | |
| 1031 | - uses: actions/cache@v4 |
| 1032 | id: binary-cache |
| 1033 | with: |
| 1034 | path: binary/node_modules |
| 1035 | key: ${{ runner.os }}-binary-node-modules-${{ hashFiles('binary/package-lock.json') }} |
| 1036 | |
| 1037 | - name: Build the binaries |
| 1038 | run: | |
| 1039 | cd binary |
| 1040 | npm run build |
| 1041 | |
| 1042 | - name: Start test IDE |
| 1043 | run: | |
| 1044 | cd extensions/intellij |
| 1045 | export DISPLAY=:99.0 |
| 1046 | Xvfb -ac :99 -screen 0 1920x1080x24 & |
| 1047 | sleep 10 |
| 1048 | mkdir -p build/reports |
| 1049 | ./gradlew runIdeForUiTests & |
| 1050 | |
| 1051 | - name: Wait for JB connection |
| 1052 | uses: jtalk/url-health-check-action@v3 |
| 1053 | with: |
| 1054 | url: http://127.0.0.1:8082 |
| 1055 | max-attempts: 15 |
| 1056 | retry-delay: 30s |
| 1057 | |
| 1058 | - name: Run tests |
| 1059 | run: | |
| 1060 | cd extensions/intellij |
| 1061 | export DISPLAY=:99.0 |
| 1062 | ./gradlew test |
| 1063 | |
| 1064 | - name: Move video |
| 1065 | if: ${{ failure() }} |
| 1066 | run: | |
| 1067 | cd extensions/intellij |
| 1068 | mv video build/reports |
| 1069 | |
| 1070 | - name: Copy logs |
| 1071 | if: ${{ failure() }} |
| 1072 | run: | |
| 1073 | cd extensions/intellij |
| 1074 | mv build/idea-sandbox/system/log/ build/reports |
| 1075 | |
| 1076 | - name: Save fails report |
| 1077 | if: ${{ failure() }} |
| 1078 | uses: actions/upload-artifact@v4 |
| 1079 | with: |
| 1080 | name: jb-failure-report |
| 1081 | path: | |
| 1082 | ${{ github.workspace }}/extensions/intellij/build/reports |
| 1083 | |
| 1084 | # GitHub does not have a way of requiring that all checks pass (you must manually select each job) |
| 1085 | # This action at least lets us manage the list of required tests via source control |
| 1086 | # so that creators of new jobs can add them to this list |
| 1087 | require-all-checks-to-pass: |
| 1088 | if: always() |
| 1089 | runs-on: ubuntu-latest |
| 1090 | needs: |
| 1091 | - install-root |
| 1092 | - prettier-check |
| 1093 | - install-core |
| 1094 | - core-checks |
| 1095 | - install-gui |
| 1096 | - gui-checks |
| 1097 | - binary-checks |
| 1098 | - install-vscode |
| 1099 | - vscode-checks |
| 1100 | - core-tests |
| 1101 | - package-tests |
| 1102 | - vscode-get-test-file-matrix |
| 1103 | - vscode-package-extension |
| 1104 | - vscode-download-e2e-dependencies |
| 1105 | - vscode-e2e-tests |
| 1106 | - gui-tests |
| 1107 | - jetbrains-tests |
| 1108 | - config-yaml-checks |
| 1109 | - install-config-yaml |
| 1110 | - install-openai-adapters |
| 1111 | - openai-adapters-tests |
| 1112 | |
| 1113 | steps: |
| 1114 | - name: Decide whether the needed jobs succeeded or failed |
| 1115 | uses: re-actors/alls-green@release/v1 |
| 1116 | with: |
| 1117 | jobs: ${{ toJSON(needs) }} |