Repository navigation
Address integration/v2 review findings: server-leg UTS conformance, migration guide, door options #1963
Workflow file for this run
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: Check | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 | |
| with: | |
| persist-credentials: false | |
| - name: Set up the JDK | |
| uses: actions/setup-java@17f84c3641ba7b8f6deff6309fc4c864478f5d62 # v3 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Set up Gradle | |
| uses: gradle/actions/setup-gradle@d9c87d481d55275bb5441eef3fe0e46805f9ef70 # v3 | |
| - run: ./gradlew checkWithCodenarc checkstyleMain checkstyleTest runUnitTests runLiveObjectsUnitTests :core:runUtsUnitTests :uts:runUtsUnitTests | |
| # A second UTS leg through the server door's builders (see the uts.side handling in | |
| # uts/.../ClientFactories.kt): the builders stamp a side-declaring agent entry and pass | |
| # everything else through, so conformance must be identical on both legs; SideModesTest | |
| # fails a leg whose stamp does not match. The leg covers every module whose UTS specs | |
| # build clients through the factories: :core and :liveobjects (plus the :uts self-tests). | |
| # There is no device leg on the JVM — the device door is not wired into the factories' seam; | |
| # its stamping contract is covered by the device module's own tests (jvmTest and the | |
| # instrumentation tests in emulate.yml). | |
| - run: ./gradlew :core:runUtsUnitTests :uts:runUtsUnitTests :liveobjects:runLiveObjectsUnitTests -Duts.side=server | |
| # Continuously proves the release pre-flight and that every published module | |
| # builds a publishable artifact set, so version/coordinate regressions surface | |
| # on PRs rather than on release day. | |
| release-dry-run: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 | |
| with: | |
| persist-credentials: false | |
| - name: Set up the JDK | |
| uses: actions/setup-java@17f84c3641ba7b8f6deff6309fc4c864478f5d62 # v3 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Set up Gradle | |
| uses: gradle/actions/setup-gradle@d9c87d481d55275bb5441eef3fe0e46805f9ef70 # v3 | |
| - run: ./gradlew verifyReleaseArtifacts publishToMavenLocal |