Skip to content

Commit 39a6f43

Browse files
update github actions
1 parent c9ff44c commit 39a6f43

2 files changed

Lines changed: 14 additions & 8 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,17 @@ jobs:
3939

4040
steps:
4141
- name: Checkout repository
42-
uses: actions/checkout@v2
42+
uses: actions/checkout@v4
43+
44+
- name: Set up JDK
45+
uses: actions/setup-java@v4
46+
with:
47+
distribution: 'temurin'
48+
java-version: '11'
4349

4450
# Initializes the CodeQL tools for scanning.
4551
- name: Initialize CodeQL
46-
uses: github/codeql-action/init@v1
52+
uses: github/codeql-action/init@v3
4753
with:
4854
languages: ${{ matrix.language }}
4955
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -54,7 +60,7 @@ jobs:
5460
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5561
# If this step fails, then you should remove it and run the build manually (see below)
5662
- name: Autobuild
57-
uses: github/codeql-action/autobuild@v1
63+
uses: github/codeql-action/autobuild@v3
5864

5965
# ℹ️ Command-line programs to run using the OS shell.
6066
# 📚 https://git.io/JvXDl
@@ -68,4 +74,4 @@ jobs:
6874
# make release
6975

7076
- name: Perform CodeQL Analysis
71-
uses: github/codeql-action/analyze@v1
77+
uses: github/codeql-action/analyze@v3

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Clone Repository
10-
uses: actions/checkout@v2
11-
- uses: actions/setup-java@v2
10+
uses: actions/checkout@v4
11+
- uses: actions/setup-java@v4
1212
with:
13-
distribution: 'adopt'
14-
java-version: '8'
13+
distribution: 'temurin'
14+
java-version: '11'
1515
- name: Test
1616
run: mvn install -Dgpg.skip=true -B -V
1717
env:

0 commit comments

Comments
 (0)