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
19 changes: 1 addition & 18 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,11 @@ on:
branches: [ master ]

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

jobs:
lintAndApiChecks:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Lint Kotlin
run: ./gradlew lintKotlin
- name: Api File Update
run: ./gradlew apiCheck
jobMatrixSetup:
needs: lintAndApiChecks
runs-on: macos-latest
outputs:
emulator_jobs_matrix: ${{ steps.dataStep.outputs.emulator_jobs_matrix }}
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/pull_request_target.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Pull Request Target
name: Lint and API Checks

on:
pull_request_target:
branches: [ master ]

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

jobs:
Expand All @@ -20,6 +20,16 @@ jobs:
with:
distribution: 'zulu'
java-version: '17'
cache: gradle
- name: Cocoapods cache
uses: actions/cache@v4
with:
path: |
~/.cocoapods
~/Library/Caches/CocoaPods
*/build/cocoapods
*/build/classes
key: cocoapods-cache-v2
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
Expand Down
Loading