File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88 runs-on : ubuntu-latest
99
10- steps :
11- - uses : actions/checkout@v1
12-
13- - name : Initialize CodeQL
14- uses : github/codeql-action/init@v4
15- with :
16- languages : ${{ matrix.language }}
17-
18- # (Optional) Autobuild or manual build steps for compiled languages
10+ permissions :
11+ security-events : write
12+ actions : read
13+ # ...
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ language : ['java']
1918
20- - name : Perform CodeQL Analysis
21- uses : github/codeql-action/analyze@v4
22-
23- - name : Set up JDK 17
24- uses : actions/setup-java@v1
25- with :
26- java-version : 17
27-
28- - name : Build with Maven
29- run : mvn -B --no-transfer-progress package --file pom.xml
19+ steps :
20+ - uses : actions/checkout@v1
21+
22+ - uses : actions/checkout@v1
23+ - name : Initialize CodeQL
24+ uses : github/codeql-action/init@v4
25+ with :
26+ languages : ${{ matrix.language }}
27+
28+ # (Optional) Autobuild or manual build steps for compiled languages
29+
30+ - name : Perform CodeQL Analysis
31+ uses : github/codeql-action/analyze@v4
32+
33+ - name : Set up JDK 17
34+ uses : actions/setup-java@v1
35+ with :
36+ java-version : 17
37+
38+ - name : Build with Maven
39+ run : mvn -B --no-transfer-progress package --file pom.xml
You can’t perform that action at this time.
0 commit comments