Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 19 additions & 15 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,34 @@ on:
pull_request:
branches: [ master ]

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

jobs:
lint:
runs-on: ubuntu-latest
lintAndApiChecks:
runs-on: macos-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- name: ktLint
run: ./gradlew lintKotlin
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
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Format Kotlin
run: ./gradlew formatKotlin
- name: Api File Update
run: ./gradlew apiDump
- uses: stefanzweifel/git-auto-commit-action@v6
jobMatrixSetup:
needs: lintAndApiChecks
runs-on: macos-latest
outputs:
emulator_jobs_matrix: ${{ steps.dataStep.outputs.emulator_jobs_matrix }}
Expand Down
27 changes: 0 additions & 27 deletions .github/workflows/push.yml

This file was deleted.

Loading