File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " CodeQL"
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ push :
6
+ pull_request :
7
+ branches :
8
+ - main
9
+ - develop
10
+ - master # for safety reasons
11
+ - dev # for safety reasons
12
+
13
+ jobs :
14
+ analyse :
15
+ name : Analyse
16
+ runs-on : ${{ github.repository_owner == 'zondax' && 'zondax-runners' || 'ubuntu-latest' }}
17
+ if : github.event.repository.private == false
18
+ strategy :
19
+ matrix :
20
+ sdk : ["$NANOX_SDK", "$NANOSP_SDK", "$STAX_SDK", "$FLEX_SDK"]
21
+ container :
22
+ image : ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-legacy:latest
23
+
24
+ steps :
25
+ - name : Clone
26
+ uses : actions/checkout@v4
27
+ with :
28
+ submodules : recursive
29
+
30
+ - name : Initialize CodeQL
31
+ uses : github/codeql-action/init@v3
32
+ with :
33
+ languages : cpp
34
+ queries : security-and-quality
35
+
36
+ - name : Build
37
+ run : |
38
+ make -j BOLOS_SDK=${{ matrix.sdk }}
39
+ - name : Perform CodeQL Analysis
40
+ uses : github/codeql-action/analyze@v3
You can’t perform that action at this time.
0 commit comments