aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDioEgizio <83089242+DioEgizio@users.noreply.github.com>2022-10-02 12:20:28 +0200
committerDioEgizio <83089242+DioEgizio@users.noreply.github.com>2022-10-04 16:17:57 +0200
commit41276403dfe219f71f37b0610cebd7270ce3a9c6 (patch)
treed53156887f53dedf702a80afa2d0e7e5d9ce180f /.github
parente3e9e394985e0327efe882d7b4e4c1d6a6cb6491 (diff)
downloadPrismLauncher-41276403dfe219f71f37b0610cebd7270ce3a9c6.tar.gz
PrismLauncher-41276403dfe219f71f37b0610cebd7270ce3a9c6.tar.bz2
PrismLauncher-41276403dfe219f71f37b0610cebd7270ce3a9c6.zip
feat(actions): add codeql code scanning
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ae8947ab..f455416d 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -64,6 +64,12 @@ jobs:
with:
submodules: 'true'
+ - name: Initialize CodeQL
+ if: runner.os == 'Linux' && matrix.qt_ver == 6
+ uses: github/codeql-action/init@v2
+ with:
+ languages: cpp, java
+
- name: 'Setup MSYS2'
if: runner.os == 'Windows'
uses: msys2/setup-msys2@v2
@@ -210,6 +216,14 @@ jobs:
ctest --test-dir build --output-on-failure
##
+ # CODE SCAN
+ ##
+
+ - name: Perform CodeQL Analysis
+ if: runner.os == 'Linux' && matrix.qt_ver == 6
+ uses: github/codeql-action/analyze@v2
+
+ ##
# PACKAGE BUILDS
##