From 8214d78bc5d32ce3ec55becec5bf05c529df0ec8 Mon Sep 17 00:00:00 2001 From: Andrew Reed Date: Mon, 18 Aug 2025 16:25:24 +0100 Subject: [PATCH] Added separate job for apiCheck --- .github/workflows/pull_request.yml | 13 +++++++++++-- .github/workflows/push.yml | 6 +++++- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 88de4bbce..92d348187 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -19,8 +19,17 @@ jobs: java-version: '17' - name: ktLint run: ./gradlew lintKotlin - - name: run apiCheck - run: ./gradlew apiCheck + apiCheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up JDK + uses: actions/setup-java@v4 + with: + distribution: 'zulu' + java-version: '17' + - name: Run Api Check + run: ./gradlew apiCheck jobMatrixSetup: runs-on: macos-latest outputs: diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index d93360b65..84f03d20b 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -16,8 +16,12 @@ jobs: with: distribution: 'zulu' java-version: '17' - - name: formatKotlin + - name: Format Kotlin run: ./gradlew formatKotlin + - name: Api File Update + run: ./gradlew apiDump - uses: stefanzweifel/git-auto-commit-action@v6 - name: lintKotlin run: ./gradlew lintKotlin + - name: Api Check + run: ./gradlew apiCheck