Ai tier ga internal #617
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: Build and Test | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - ai-tier-ga | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| actions: read | |
| contents: read | |
| packages: write | |
| security-events: write | |
| id-token: write # Required for artifact attestation | |
| attestations: write # Required for artifact attestation | |
| jobs: | |
| check-formatting: | |
| uses: ./.github/workflows/main-check-formatting.yml | |
| unit-tests: | |
| uses: ./.github/workflows/main-unit-tests.yml | |
| needs: check-formatting | |
| cluster-setup-tests: | |
| uses: ./.github/workflows/cluster-setup-tests.yml | |
| needs: check-formatting | |
| build-image: | |
| uses: ./.github/workflows/main-build-image.yml | |
| secrets: inherit | |
| needs: unit-tests | |
| vulnerability-scan: | |
| uses: ./.github/workflows/main-vulnerability-scan.yml | |
| secrets: inherit | |
| needs: build-image | |
| helm-lint-test: | |
| uses: ./.github/workflows/helm-lint-test.yml | |
| needs: unit-tests # Run in parallel with build-image | |
| # smoke-tests: | |
| # uses: ./.github/workflows/main-smoke-tests.yml | |
| # secrets: inherit | |
| # needs: vulnerability-scan |