Skip to content

Commit b96f414

Browse files
committed
Update codeql.yml
1 parent 0c0fe2f commit b96f414

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
# the `language` matrix defined below to confirm you have the correct set of
1010
# supported CodeQL languages.
1111
#
12-
name: "CodeQL"
12+
name: 'CodeQL'
1313
defaults:
1414
run:
1515
working-directory: ./client
1616
on:
1717
schedule:
18-
- cron: "19 3 * * 5"
18+
- cron: '19 3 * * 5'
1919

2020
jobs:
2121
analyze:
@@ -29,20 +29,19 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
language: ["java", "javascript"]
32+
language: ['java', 'javascript']
3333
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
3434
# Learn more:
3535
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
3636

3737
steps:
3838
- name: Checkout repository
3939
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
40-
40+
4141
- uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
4242
with:
4343
distribution: 'temurin'
44-
java-version: 17
45-
44+
java-version: 21
4645

4746
# Initializes the CodeQL tools for scanning.
4847
- name: Initialize CodeQL
@@ -55,13 +54,13 @@ jobs:
5554
# queries: ./path/to/local/query, your-org/your-repo/queries@main
5655

5756
- name: Build with Maven
58-
run: mvn -B -Pm2 clean verify --file pom.xml
57+
run: mvn -B clean verify --file pom.xml
5958
working-directory: server
6059

6160
- name: Build Client with yarn
6261
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
6362
with:
64-
node-version: "20"
63+
node-version: '22'
6564
- run: yarn install
6665

6766
# ℹ️ Command-line programs to run using the OS shell.

0 commit comments

Comments
 (0)