Skip to content

Add japicmp #2091

New issue

Have a question about this project? Sign up for a free account to open an issue and contact its maintainers and the community.

By clicking “Sign up for ”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on ? Sign in to your account

Merged
merged 3 commits into from
May 10, 2025
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
26 changes: 21 additions & 5 deletions ./workflows/builds.yml
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,39 +5,55 @@
- cron: '0 12 * * *'

jobs:
Verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Grant Permission
run: chmod +x ./mvnw
- uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: '11'
- name: Verify
run: ./mvnw -B -ntp clean verify -DskipTests -Dgpg.skip=true

RunOnLinux:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the _TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
runs-on: ubuntu-latest
needs: Verify
steps:
- uses: actions/checkout@v4
- name: Grant Permission
run: sudo chmod +x ./mvnw
run: chmod +x ./mvnw
- uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: '11'
- name: Run Tests
run: ./mvnw -B -ntp clean test
run: ./mvnw -B -ntp test

RunOnMacOs:
runs-on: macos-latest
needs: Verify
steps:
- uses: actions/checkout@v4
- name: Grant Permission
run: sudo chmod +x ./mvnw
run: chmod +x ./mvnw
- uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: '11'
- name: Run Tests
run: ./mvnw -B -ntp clean test
run: ./mvnw -B -ntp test

RunOnWindows:
runs-on: windows-latest
needs: Verify
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: '11'
- name: Run Tests
run: ./mvnw.cmd -B -ntp clean test
run: ./mvnw.cmd -B -ntp test
28 changes: 28 additions & 0 deletions pom.xml
Original file line numberDiff line numberDiff line change
Expand Up@@ -422,10 +422,38 @@
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
<gpg.skip>false</gpg.skip>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>com..siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
<version>0.23.1</version>
<configuration>
<version>
<old>RELEASE</old>
<new>${project.version}</new>
</version>
<parameter>
<onlyModified>true</onlyModified>
<breakBuildOnBinaryIncompatibleModifications>true</breakBuildOnBinaryIncompatibleModifications>
<breakBuildOnSourceIncompatibleModifications>true</breakBuildOnSourceIncompatibleModifications>
<includeSynthetic>false</includeSynthetic>
<accessModifier>public</accessModifier>
</parameter>
</configuration>
<executions>
<execution>
<goals>
<goal>cmp</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>