Skip to content

Commit 37e64de

Browse files
0xPxtchcmedeiros
authored andcommitted
Add codeQL workflow (#192)
* Add codeQL workflow * Bump Version * Update Snapshots
1 parent 73b795a commit 37e64de

File tree

10 files changed

+41
-1
lines changed

10 files changed

+41
-1
lines changed

.github/workflows/codeql.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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

app/Makefile.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
APPVERSION_M=0
22
APPVERSION_N=24
3-
APPVERSION_P=9
3+
APPVERSION_P=10
-150 Bytes
Loading
-3 Bytes
Loading
-3 Bytes
Loading
7 Bytes
Loading
7 Bytes
Loading
-86 Bytes
Loading
7 Bytes
Loading
7 Bytes
Loading

0 commit comments

Comments
 (0)