Merge pull request #193 from edouardparis/fix-client-rs-example #397
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "CodeQL" | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
- develop | |
pull_request: | |
branches: | |
- master | |
- develop | |
jobs: | |
analyse: | |
name: CodeQL Analyse of boilerplate application | |
strategy: | |
matrix: | |
include: | |
- SDK: "$NANOS_SDK" | |
artifact: boilerplate-app-nanoS | |
- SDK: "$NANOX_SDK" | |
artifact: boilerplate-app-nanoX | |
- SDK: "$NANOSP_SDK" | |
artifact: boilerplate-app-nanoSP | |
language: [ 'cpp' ] | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-legacy:latest | |
steps: | |
- name: Clone | |
uses: actions/checkout@v3 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: ${{ matrix.language }} | |
queries: security-and-quality | |
- name: Build | |
run: | | |
make BOLOS_SDK=${{ matrix.SDK }} | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 | |