diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml
new file mode 100644
index 0000000..27df530
--- /dev/null
+++ b/.github/workflows/integration.yml
@@ -0,0 +1,48 @@
+name: Integration
+
+on:
+ push:
+ branches:
+ - main
+ pull_request:
+
+jobs:
+ test:
+ name: Test
+ runs-on: ubuntu-22.04
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+
+ - name: Setup Java
+ uses: actions/setup-java@v4
+ with:
+ distribution: "temurin"
+ java-version: 17
+ cache: "maven"
+
+ - name: Download dependencies
+ run: mvn -B dependency:go-offline
+
+ - name: Test
+ run: mvn -B test
+
+ build:
+ name: Build
+ runs-on: ubuntu-22.04
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+
+ - name: Setup Java
+ uses: actions/setup-java@v4
+ with:
+ distribution: "temurin"
+ java-version: 17
+ cache: "maven"
+
+ - name: Download dependencies
+ run: mvn -B dependency:go-offline
+
+ - name: Build
+ run: mvn -B package -DskipTests
diff --git a/pom.xml b/pom.xml
index a815c15..92b548a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,6 +6,9 @@
Keycloak Userli Storage Provider
Keycloak Userli Storage Provider
+ UTF-8
+ 17
+ 17
23.0.1
@@ -46,7 +49,7 @@
org.junit.jupiter
junit-jupiter-engine
- 5.8.1
+ 5.10.1
test
@@ -64,6 +67,11 @@
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ 3.2.2
+
org.apache.maven.plugins
maven-dependency-plugin