Skip to content

Commit 638fb3f

Browse files
authored
Added CodeQL scanning (#843)
* Added CodeQL scanning * Install JDK25 before codeql autobuild * Added push trigger for the default branch
1 parent ea24bef commit 638fb3f

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CodeQL
2+
3+
on:
4+
push:
5+
branches:
6+
- 'dev'
7+
pull_request:
8+
branches:
9+
- "dev"
10+
schedule:
11+
- cron: '0 2 * * 1'
12+
13+
jobs:
14+
codeql_scan:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
19+
- name: Install Java
20+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654
21+
with:
22+
java-version: '25'
23+
distribution: 'temurin'
24+
- name: Initialize CodeQL
25+
uses: github/codeql-action/init@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0
26+
with:
27+
languages: java
28+
queries: security-and-quality
29+
- name: Autobuild
30+
uses: github/codeql-action/autobuild@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0
31+
- name: Perform analysis
32+
uses: github/codeql-action/analyze@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0

0 commit comments

Comments
 (0)