diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index e4041d5..13b2d88 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -18,7 +18,7 @@ on:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- - cron: '21 13 * * 1'
+ - cron: '20 20 * * 2'
jobs:
analyze:
@@ -35,7 +35,7 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
@@ -50,9 +50,10 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Setup Java JDK
- uses: actions/setup-java@v1
+ uses: actions/setup-java@v4
with:
- java-version: 11
+ distribution: 'temurin'
+ java-version: 21
- name: Autobuild
uses: github/codeql-action/autobuild@v1
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index c90af75..09989d0 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -5,7 +5,6 @@ on:
schedule:
- cron: '0 5 */1 * *'
-
jobs:
build:
runs-on: ${{ matrix.os }}
@@ -28,21 +27,22 @@ jobs:
experimental: true
name: Build with Java ${{ matrix.java }} on ${{ matrix.os }}
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Setup Java
- uses: actions/setup-java@v1
+ uses: actions/setup-java@v4
with:
+ distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Cache SonarCloud packages
- uses: actions/cache@v1
+ uses: actions/cache@v3
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Maven packages
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
diff --git a/pom.xml b/pom.xml
index 866328f..7a15d87 100644
--- a/pom.xml
+++ b/pom.xml
@@ -136,7 +136,7 @@
org.junit.jupiter
junit-jupiter
- 5.10.0
+ 5.10.1
test
@@ -148,7 +148,7 @@
org.mockito
mockito-junit-jupiter
- 5.4.0
+ 5.8.0
test
@@ -156,7 +156,7 @@
com.sun.xml.bind
jaxb-impl
- 4.0.3
+ 4.0.4
test
@@ -279,7 +279,7 @@
maven-compiler-plugin
- 3.11.0
+ 3.12.1
maven-source-plugin
@@ -299,14 +299,14 @@
maven-failsafe-plugin
- 3.1.0
+ 3.2.5
false
maven-surefire-plugin
- 3.1.0
+ 3.2.5
false