Skip to content

Commit c9814da

Browse files
committed
Update workflows
1 parent 5ff9f9d commit c9814da

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
1919
with:
2020
# We must fetch at least the immediate parents so that if this is
2121
# a pull request then we can checkout the head.
@@ -28,15 +28,15 @@ jobs:
2828

2929
# Initializes the CodeQL tools for scanning.
3030
- name: Initialize CodeQL
31-
uses: github/codeql-action/init@v1
31+
uses: github/codeql-action/init@v2
3232
# Override language selection by uncommenting this and choosing your languages
3333
# with:
3434
# languages: go, javascript, csharp, python, cpp, java
3535

3636
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
3737
# If this step fails, then you should remove it and run the build manually (see below)
3838
- name: Autobuild
39-
uses: github/codeql-action/autobuild@v1
39+
uses: github/codeql-action/autobuild@v2
4040

4141
# ℹ️ Command-line programs to run using the OS shell.
4242
# 📚 https://git.io/JvXDl
@@ -50,4 +50,4 @@ jobs:
5050
# make release
5151

5252
- name: Perform CodeQL Analysis
53-
uses: github/codeql-action/analyze@v1
53+
uses: github/codeql-action/analyze@v2

.github/workflows/test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ jobs:
66
strategy:
77
fail-fast: false
88
matrix:
9+
distribution: ['zulu']
910
os: [ubuntu-latest, windows-latest, macos-latest]
1011
version: [ 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 ]
1112
steps:
12-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v4
1314
with:
1415
submodules: true
15-
- uses: actions/setup-java@v1
16+
- uses: actions/setup-java@v3
1617
with:
18+
distribution: ${{ matrix.distribution }}
1719
java-version: ${{ matrix.version }}
1820
- run: mvn test -B

0 commit comments

Comments
 (0)