Skip to content

Commit 999edb4

Browse files
authored
Merge branch 'master' into Java25Update
2 parents 5ee4131 + 35e591d commit 999edb4

File tree

2 files changed

+34
-33
lines changed

2 files changed

+34
-33
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -31,25 +31,30 @@ jobs:
3131
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
3232

3333
steps:
34-
- name: Checkout repository
35-
uses: actions/checkout@v2
34+
- name: Checkout repository
35+
uses: actions/checkout@v2
36+
37+
# Install and setup JDK 17
38+
- name: Setup JDK 17
39+
uses: actions/setup-java@v2
40+
with:
41+
distribution: 'temurin'
42+
java-version: '17'
3643

37-
# Install and setup JDK 25
38-
- name: Setup JDK 25
39-
uses: actions/setup-java@v2
40-
with:
41-
distribution: 'temurin'
42-
java-version: '25'
44+
# Initializes the CodeQL tools for scanning.
45+
- name: Initialize CodeQL
46+
uses: github/codeql-action/init@v4
47+
with:
48+
languages: ${{ matrix.language }}
49+
# If you wish to specify custom queries, you can do so here or in a config file.
50+
# By default, queries listed here will override any specified in a config file.
51+
# Prefix the list here with "+" to use these queries and those in the config file.
52+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
4353

44-
# Initializes the CodeQL tools for scanning.
45-
- name: Initialize CodeQL
46-
uses: github/codeql-action/init@v4
47-
with:
48-
languages: ${{ matrix.language }}
49-
# If you wish to specify custom queries, you can do so here or in a config file.
50-
# By default, queries listed here will override any specified in a config file.
51-
# Prefix the list here with "+" to use these queries and those in the config file.
52-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
54+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
55+
# If this step fails, then you should remove it and run the build manually (see below)
56+
- name: Autobuild
57+
uses: github/codeql-action/autobuild@v4
5358

5459
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5560
# If this step fails, then you should remove it and run the build manually (see below)
@@ -63,9 +68,5 @@ jobs:
6368
# and modify them (or add more) to build your code if your project
6469
# uses a compiled language
6570

66-
#- run: |
67-
# make bootstrap
68-
# make release
69-
70-
- name: Perform CodeQL Analysis
71-
uses: github/codeql-action/analyze@v4
71+
- name: Perform CodeQL Analysis
72+
uses: github/codeql-action/analyze@v4

.github/workflows/gradle.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v2
19-
- name: Set up JDK 25
20-
uses: actions/setup-java@v2
21-
with:
22-
distribution: 'temurin'
23-
java-version: '25'
24-
- name: Grant execute permission for gradlew
25-
run: chmod +x gradlew
26-
- name: Build with Gradle
27-
run: ./gradlew build
18+
- uses: actions/checkout@v2
19+
- name: Set up JDK 17
20+
uses: actions/setup-java@v2
21+
with:
22+
distribution: 'temurin'
23+
java-version: '17'
24+
- name: Grant execute permission for gradlew
25+
run: chmod +x gradlew
26+
- name: Build with Gradle
27+
run: ./gradlew build

0 commit comments

Comments
 (0)