File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : codeql-java
2+
3+ permissions : { }
4+
5+ on :
6+ push :
7+ branches :
8+ - main
9+ paths :
10+ - java/**
11+ - testdata/**
12+ - .github/**
13+ pull_request :
14+ branches :
15+ - main
16+ paths :
17+ - java/**
18+ - testdata/**
19+ - .github/**
20+ schedule :
21+ - cron : ' 44 5 * * 0'
22+
23+ concurrency :
24+ # Cancels in-progress runs only for pull requests
25+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
26+ cancel-in-progress : true
27+
28+ jobs :
29+ analyze :
30+ name : Analyze Java
31+ runs-on : ' ubuntu-latest'
32+ permissions :
33+ security-events : write
34+ steps :
35+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
36+ with :
37+ persist-credentials : false
38+ - uses : github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
39+ with :
40+ languages : java
41+ build-mode : manual
42+ tools : linked
43+ - uses : actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
44+ with :
45+ distribution : ' temurin'
46+ java-version : 21
47+ cache : ' maven'
48+ - name : Build
49+ shell : bash
50+ run : |
51+ mvn compile --batch-mode -Dstyle.color=always --show-version
52+ working-directory : java
53+ - uses : github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
54+ with :
55+ category : " /language:java"
You can’t perform that action at this time.
0 commit comments