diff --git a/.github/workflows/maven-ci.yml b/.github/workflows/maven-ci.yml
index 889d006..b903cdb 100644
--- a/.github/workflows/maven-ci.yml
+++ b/.github/workflows/maven-ci.yml
@@ -1,31 +1,13 @@
name: Maven CI
-
on:
push:
- branches:
- - '**'
+ branches: ['**']
pull_request:
-
permissions:
contents: read
-
jobs:
- verify:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout
- uses: actions/checkout@v4
-
- - name: Set up JDK 8
- uses: actions/setup-java@v4
- with:
- distribution: temurin
- java-version: '8'
- cache: maven
-
- - name: Run tests
- run: mvn -B test
-
- - name: Build package
- run: mvn -B package
+ ci:
+ # Pin to the floating major tag @v1 to auto-receive security re-pins; immutable tags (e.g. v1.1.0) remain available for strict pinning.
+ uses: UltiKits/ci-workflows/.github/workflows/maven-ci.yml@v1
+ with:
+ needs-nms: false
diff --git a/pom.xml b/pom.xml
index af34987..bb9e8ea 100644
--- a/pom.xml
+++ b/pom.xml
@@ -77,19 +77,31 @@
org.mockito
mockito-core
- 4.11.0
+ 5.2.0
test
org.mockito
mockito-junit-jupiter
- 4.11.0
+ 5.2.0
test
org.mockito
mockito-inline
- 4.11.0
+ 5.2.0
+ test
+
+
+ net.bytebuddy
+ byte-buddy
+ 1.15.4
+ test
+
+
+ net.bytebuddy
+ byte-buddy-agent
+ 1.15.4
test