name: build-logic # The included build's own tests (TestKit for the convention plugins, unit tests for the verifiers). # The main task graph does not reach them, so they run here — and only when a pull request touches # the included build or the catalog it reads. build-tools was folded into build-logic (review # 2026-09-24 BUILD-O3-6). on: pull_request: paths: - "src/build-logic/**" - "src/gradle/**" - ".github/workflows/build-logic.yml" push: branches: ["main"] paths: - "src/build-logic/**" - "src/gradle/**" - ".github/workflows/build-logic.yml" workflow_dispatch: permissions: contents: read concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: included-builds: runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2 - uses: ./.github/actions/setup-gradle-java - name: Test the build-logic convention plugins working-directory: src run: ./gradlew -p build-logic test --stacktrace