Update CI codeql

This commit is contained in:
2022-12-13 13:31:20 +01:00
parent 75c5a095c5
commit e5b09f1610
2 changed files with 37 additions and 33 deletions

View File

@@ -18,7 +18,7 @@ on:
# The branches below must be a subset of the branches above
branches: ["main"]
schedule:
- cron: '16 22 * * 0'
- cron: "16 22 * * 0"
jobs:
analyze:
@@ -32,7 +32,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'cpp', 'python' ]
language: ["cpp", "python"]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
@@ -52,12 +52,16 @@ jobs:
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
- if: matrix.language == 'python'
name: Autobuild
uses: github/codeql-action/autobuild@v2
- if: matrix.language == 'cpp'
name: Build CPP
run: |
make install
# Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

View File

@@ -27,7 +27,7 @@ jobs:
pip install -q --upgrade codecov coverage black flake8 codacy-coverage
- name: Build and install
run: |
cd FImdlp
cd /home/runner/work/FImdlp/FImdlp
make install
- name: Lint
run: |