diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..9f960de
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,21 @@
+name: Build and run unit tests
+on:
+ push:
+ pull_request:
+
+ # Allows to run this workflow manually from the Actions tab
+ workflow_dispatch:
+
+jobs:
+ publish:
+ runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-java@v4
+ with:
+ java-version: '11'
+ distribution: 'adopt'
+ - name: Build and run unit tests
+ run: mvn --batch-mode clean install
diff --git a/pom.xml b/pom.xml
index a26bcb3..8975d27 100644
--- a/pom.xml
+++ b/pom.xml
@@ -77,6 +77,7 @@
1.5
2.5.2
0.8.10
+ 0.20.0
3.4.0
3.2.1
3.3.0
@@ -393,6 +394,11 @@
jacoco-maven-plugin
${version.jacoco.plugin}
+
+ com.github.siom79.japicmp
+ japicmp-maven-plugin
+ ${version.japicmp.plugin}
+
org.sonatype.plugins
nexus-staging-maven-plugin
@@ -457,6 +463,28 @@
+
+
+ com.github.siom79.japicmp
+ japicmp-maven-plugin
+
+
+
+
+ true
+
+ true
+
+
+
+
+ verify
+
+ cmp
+
+
+
+