Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6ac1ccc

Browse files
Add japicmp (#2091)
1 parent 73911eb commit 6ac1ccc

File tree

2 files changed

+49
-5
lines changed

2 files changed

+49
-5
lines changed

‎.github/workflows/builds.yml‎

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,39 +5,55 @@ on:
55
- cron: '0 12 * * *'
66

77
jobs:
8+
Verify:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- name: Grant Permission
13+
run: chmod +x ./mvnw
14+
- uses: actions/setup-java@v4
15+
with:
16+
distribution: 'corretto'
17+
java-version: '11'
18+
- name: Verify
19+
run: ./mvnw -B -ntp clean verify -DskipTests -Dgpg.skip=true
20+
821
RunOnLinux:
922
runs-on: ubuntu-latest
23+
needs: Verify
1024
steps:
1125
- uses: actions/checkout@v4
1226
- name: Grant Permission
13-
run: sudo chmod +x ./mvnw
27+
run: chmod +x ./mvnw
1428
- uses: actions/setup-java@v4
1529
with:
1630
distribution: 'corretto'
1731
java-version: '11'
1832
- name: Run Tests
19-
run: ./mvnw -B -ntp clean test
33+
run: ./mvnw -B -ntp test
2034

2135
RunOnMacOs:
2236
runs-on: macos-latest
37+
needs: Verify
2338
steps:
2439
- uses: actions/checkout@v4
2540
- name: Grant Permission
26-
run: sudo chmod +x ./mvnw
41+
run: chmod +x ./mvnw
2742
- uses: actions/setup-java@v4
2843
with:
2944
distribution: 'corretto'
3045
java-version: '11'
3146
- name: Run Tests
32-
run: ./mvnw -B -ntp clean test
47+
run: ./mvnw -B -ntp test
3348

3449
RunOnWindows:
3550
runs-on: windows-latest
51+
needs: Verify
3652
steps:
3753
- uses: actions/checkout@v4
3854
- uses: actions/setup-java@v4
3955
with:
4056
distribution: 'corretto'
4157
java-version: '11'
4258
- name: Run Tests
43-
run: ./mvnw.cmd -B -ntp clean test
59+
run: ./mvnw.cmd -B -ntp test

‎pom.xml‎

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,10 +422,38 @@
422422
<arg>--pinentry-mode</arg>
423423
<arg>loopback</arg>
424424
</gpgArguments>
425+
<gpg.skip>false</gpg.skip>
425426
</configuration>
426427
</execution>
427428
</executions>
428429
</plugin>
430+
431+
<plugin>
432+
<groupId>com.github.siom79.japicmp</groupId>
433+
<artifactId>japicmp-maven-plugin</artifactId>
434+
<version>0.23.1</version>
435+
<configuration>
436+
<version>
437+
<old>RELEASE</old>
438+
<new>${project.version}</new>
439+
</version>
440+
<parameter>
441+
<onlyModified>true</onlyModified>
442+
<breakBuildOnBinaryIncompatibleModifications>true</breakBuildOnBinaryIncompatibleModifications>
443+
<breakBuildOnSourceIncompatibleModifications>true</breakBuildOnSourceIncompatibleModifications>
444+
<includeSynthetic>false</includeSynthetic>
445+
<accessModifier>public</accessModifier>
446+
</parameter>
447+
</configuration>
448+
<executions>
449+
<execution>
450+
<goals>
451+
<goal>cmp</goal>
452+
</goals>
453+
<phase>verify</phase>
454+
</execution>
455+
</executions>
456+
</plugin>
429457
</plugins>
430458
</build>
431459
</project>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /