diff --git a/.github/workflows/PR.yml b/.github/workflows/PR.yml index a513a0c2805..80017b80178 100644 --- a/.github/workflows/PR.yml +++ b/.github/workflows/PR.yml @@ -15,23 +15,23 @@ jobs: api_check: runs-on: ubuntu-latest if: github.repository == 'kotest/kotest' - steps: - - name: Checkout the repo - uses: actions/checkout@v3 - with: - fetch-depth: 0 - ref: ${{ github.event.inputs.branch }} - - - name: Setup JDK - uses: actions/setup-java@v3 - with: - distribution: 'temurin' - java-version: '8' - - - uses: gradle/gradle-build-action@v2 - - - name: Run api check - run: ./gradlew apiCheck + steps: + - name: Checkout the repo + uses: actions/checkout@v3 + with: + fetch-depth: 0 + ref: ${{ github.event.inputs.branch }} + + - name: Setup JDK + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: '8' + + - uses: gradle/gradle-build-action@v2 + + - name: Run api check + run: ./gradlew apiCheck test_linux: needs: api_check