diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 37bcdcfb..a81ca3d1 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,8 +1,8 @@ -name: 'CodeQL' +name: "CodeQL" on: schedule: - - cron: '20 2 * * 0' + - cron: "20 2 * * 0" jobs: analyze: @@ -16,13 +16,14 @@ jobs: strategy: fail-fast: false matrix: - language: ['cpp', 'javascript', 'python'] + language: ["cpp", "javascript", "python"] # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] # Use only 'java' to analyze code written in Java, Kotlin or both # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support steps: + - run: sudo apt-get -qq update - name: Install dependencies if: matrix.language == 'cpp' run: | @@ -73,7 +74,6 @@ jobs: # If you wish to specify custom queries, you can do so here or in a config file. # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. - # 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 @@ -85,4 +85,4 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v3 with: - category: '/language:${{matrix.language}}' + category: "/language:${{matrix.language}}"