Skip to content

Commit a1c67d4

Browse files
authored
Added separate job for apiCheck (#753)
1 parent 74f2dbf commit a1c67d4

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.github/workflows/pull_request.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,17 @@ jobs:
1919
java-version: '17'
2020
- name: ktLint
2121
run: ./gradlew lintKotlin
22-
- name: run apiCheck
23-
run: ./gradlew apiCheck
22+
apiCheck:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v4
26+
- name: Set up JDK
27+
uses: actions/setup-java@v4
28+
with:
29+
distribution: 'zulu'
30+
java-version: '17'
31+
- name: Run Api Check
32+
run: ./gradlew apiCheck
2433
jobMatrixSetup:
2534
runs-on: macos-latest
2635
outputs:

.github/workflows/push.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,12 @@ jobs:
1616
with:
1717
distribution: 'zulu'
1818
java-version: '17'
19-
- name: formatKotlin
19+
- name: Format Kotlin
2020
run: ./gradlew formatKotlin
21+
- name: Api File Update
22+
run: ./gradlew apiDump
2123
- uses: stefanzweifel/git-auto-commit-action@v6
2224
- name: lintKotlin
2325
run: ./gradlew lintKotlin
26+
- name: Api Check
27+
run: ./gradlew apiCheck

0 commit comments

Comments
 (0)