Skip to content

Commit 0bbaa90

Browse files
committed
ci: refactor build of design toolbox app for SAST / CodeQL
Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
1 parent 9bd7c57 commit 0bbaa90

File tree

1 file changed

+5
-19
lines changed

1 file changed

+5
-19
lines changed

.github/workflows/codeql.yml

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ on:
3030
push:
3131
branches: ["develop"]
3232
pull_request:
33-
# The branches below must be a subset of the branches above
3433
branches: ["develop"]
3534
schedule:
3635
- cron: "0 0 * * 1"
@@ -51,7 +50,6 @@ jobs:
5150
fail-fast: false
5251
matrix:
5352
language: ["ruby", "swift"]
54-
# CodeQL supports [ $supported-codeql-languages ]
5553
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
5654

5755
steps:
@@ -63,24 +61,12 @@ jobs:
6361
uses: github/codeql-action/init@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
6462
with:
6563
languages: ${{ matrix.language }}
66-
# If you wish to specify custom queries, you can do so here or in a config file.
67-
# By default, queries listed here will override any specified in a config file.
68-
# Prefix the list here with "+" to use these queries and those in the config file.
6964

70-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
71-
# If this step fails, then you should remove it and run the build manually (see below)
72-
- name: Autobuild
73-
uses: github/codeql-action/autobuild@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
74-
75-
# ℹ️ Command-line programs to run using the OS shell.
76-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
77-
78-
# If the Autobuild fails above, remove it and uncomment the following three lines.
79-
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
80-
81-
# - run: |
82-
# echo "Run, Build Application using script"
83-
# ./location_of_script_within_repo/buildscript.sh
65+
- run: |
66+
echo "Run, Build Application using script"
67+
bundle install
68+
cd DesignToolbox
69+
bundle exec fastlane build_debug
8470
8571
- name: Perform CodeQL Analysis
8672
uses: github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3

0 commit comments

Comments
 (0)