File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111jobs :
1212 analyze :
1313 name : Analyze
14- runs-on : ubuntu-latest
15- timeout-minutes : 360
14+ runs-on : ${{ matrix.language == 'swift' && 'macos-latest' || ' ubuntu-latest' }}
15+ timeout-minutes : ${{ matrix.language == 'swift' && 120 || 360 }}
1616 permissions :
1717 security-events : write
1818 actions : read
1919 contents : read
2020
21+ strategy :
22+ fail-fast : false
23+ matrix :
24+ include :
25+ - language : go
26+ build-mode : autobuild
27+ - language : javascript-typescript
28+ build-mode : none
29+
2130 steps :
2231 - name : Checkout repository
23- uses : actions/checkout@v4
32+ uses : actions/checkout@v5
2433
2534 - name : Initialize CodeQL
26- uses : github/codeql-action/init@v3
35+ uses : github/codeql-action/init@v4
2736 with :
28- languages : auto
37+ languages : ${{ matrix.language }}
2938 queries : security-extended
3039
3140 - name : Autobuild
32- uses : github/codeql-action/autobuild@v3
41+ uses : github/codeql-action/autobuild@v4
42+ if : matrix.build-mode == 'autobuild'
3343
3444 - name : Perform CodeQL Analysis
35- uses : github/codeql-action/analyze@v3
45+ uses : github/codeql-action/analyze@v4
46+ with :
47+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments