diff --git a/.github/workflows/analyze.yaml b/.github/workflows/analyze.yaml index de581d784..e852dc73d 100644 --- a/.github/workflows/analyze.yaml +++ b/.github/workflows/analyze.yaml @@ -10,23 +10,27 @@ jobs: runs-on: ubuntu-latest # for local run -- $ act -j build -P ubuntu-latest=nektos/act-environments-ubuntu:18.04 steps: - # Clone repository with all branches and tags into github virtual machine - - uses: actions/checkout@v2 + # Clone repository with all branches and tags into GitHub virtual machine + - uses: actions/checkout@v4 with: fetch-depth: 0 + # see https://github.com/actions/setup-java # Download and Install specific JDK version - - name: Set up JDK 1.11 - uses: actions/setup-java@v1 + - name: Set up JDK 21 + uses: actions/setup-java@v4 with: - java-version: 1.11 + distribution: 'temurin' + java-version: 21 + # for act caching download https://static.azul.com/zulu/bin/zulu11.43.21-ca-jdk11.0.9-linux_x64.tar.gz # to root workdir an uncomment # jdkFile: zulu11.43.21-ca-jdk11.0.9-linux_x64.tar.gz # Load packages from cache if present + # see https://github.com/actions/cache - name: Cache Maven packages - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} @@ -61,17 +65,17 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v3 with: config-file: ./.github/codeql/js-config.yml languages: javascript queries: security-and-quality - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v3 # CodeQL analyzes Java code in repository codeql_java: @@ -80,36 +84,39 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 # exclude html directory from java analysis - name: Remove HTML directory run: rm -rf html # Download and Install specific JDK version - - name: Set up JDK 1.11 - uses: actions/setup-java@v1 + - name: Set up JDK 21 + uses: actions/setup-java@v4 with: - java-version: 1.11 + distribution: 'temurin' + java-version: 21 + # for act caching download https://static.azul.com/zulu/bin/zulu11.43.21-ca-jdk11.0.9-linux_x64.tar.gz - # to root workdir an uncomment + # to root workdir uncomment # jdkFile: zulu11.43.21-ca-jdk11.0.9-linux_x64.tar.gz # Load packages from cache if present + # see https://github.com/actions/cache - name: Cache Maven packages - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2 - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v3 with: languages: java queries: security-and-quality # Automatically builds project with maven - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v3 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 \ No newline at end of file + uses: github/codeql-action/analyze@v3 \ No newline at end of file diff --git a/pom.xml b/pom.xml index c9f6df42e..3ae277561 100644 --- a/pom.xml +++ b/pom.xml @@ -16,9 +16,9 @@ - 11 + 17 1.4.1.Final - 1.18.16 + 1.18.30 0.2.0 2.3.30 2.4.1 @@ -37,10 +37,10 @@ 1.5.8 - 3.8.1 + 3.13.0 3.0.0-M5 2.2.1 - 2.1.1 + 3.4.0 2.9.1 3.2.4 5.0.0 @@ -91,8 +91,8 @@ maven-compiler-plugin ${maven-compiler-plugin.version} - 11 - 11 + ${java.version} + ${java.version}