name: web-release # The complete Stable gate. Everything the PR and nightly workflows run, plus the checks whose cost # is only justified when something is about to ship: the public API surface, the environment key # registry and the whole architecture verification. # # It is one workflow rather than a reference to the others because a release gate that depends on # another workflow having run is a gate whose result depends on scheduling. on: workflow_dispatch: push: tags: - 'web-v*' permissions: contents: read concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: false jobs: web-stable-release-gate: runs-on: ubuntu-latest timeout-minutes: 90 steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2 - name: Validate Gradle wrapper id: gradle-wrapper-validation uses: gradle/actions/wrapper-validation@3f131e8634966bd73d06cc69884922b02e6faf92 # gradle/actions@v6 - uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # actions/setup-java@v4.7.1 with: distribution: temurin java-version: "21.0.11+10" cache: gradle cache-dependency-path: | src/**/*.gradle src/**/gradle-wrapper.properties src/**/gradle.lockfile - name: Run every web lane and the architecture-wide verification working-directory: src run: >- ./gradlew :adapter:inbound:web:webCrossStackParityTest :adapter:inbound:web:webNginxProxyTest verifyCleanArchitectureDependencies verifyPublicPathSnapshot verifyEnvKeys :app-bootstrap:test --tests '*CleanArchitectureTest' --no-daemon --stacktrace - name: Publish the release evidence if: always() uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # actions/upload-artifact@v4.6.2 with: name: web-release-evidence path: | src/adapter/inbound/web/build/web-contract-parity/ src/adapter/inbound/web/build/reports/tests/ if-no-files-found: error