Skip to content

Commit 8a003fb

Browse files
try to fix codeql to use java 17+
1 parent 0915755 commit 8a003fb

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: codeql-analysis.yml
2+
on:
3+
push:
4+
branches: [ "master" ]
5+
pull_request:
6+
branches: [ "master" ]
7+
jobs:
8+
analyze:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v4
13+
- name: Setup JDK 17
14+
uses: actions/setup-java@v5
15+
with:
16+
distribution: temurin
17+
java-version: 17
18+
- name: Initialize CodeQL
19+
uses: github/codeql-action/init@v3
20+
with:
21+
languages: java
22+
- name: Autobuild
23+
uses: github/codeql-action/autobuild@v3
24+
25+
- name: Perform CodeQL Analysis
26+
uses: github/codeql-action/analyze@v3
27+

0 commit comments

Comments
 (0)