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
9 changes: 3 additions & 6 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ concurrency:
jobs:
lintAndApiChecks:
runs-on: macos-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -28,11 +26,10 @@ jobs:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Format Kotlin
run: ./gradlew formatKotlin
- name: Lint Kotlin
run: ./gradlew lintKotlin
- name: Api File Update
run: ./gradlew apiDump
- uses: stefanzweifel/git-auto-commit-action@v6
run: ./gradlew apiCheck
jobMatrixSetup:
needs: lintAndApiChecks
runs-on: macos-latest
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/pull_request_target.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Pull Request Target

on:
pull_request_target:
branches: [ master ]

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

jobs:
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'
- 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
Loading