|
22 | 22 | jobs: |
23 | 23 | analyze: |
24 | 24 | name: Analyze (${{ matrix.language }}) |
25 | | - # Runner size impacts CodeQL analysis time. To learn more, please see: |
26 | | - # - https://gh.io/recommended-hardware-resources-for-running-codeql |
27 | | - # - https://gh.io/supported-runners-and-hardware-resources |
28 | | - # - https://gh.io/using-larger-runners (GitHub.com only) |
29 | | - # Consider using larger runners or machines with greater resources for possible analysis time improvements. |
30 | 25 | runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} |
31 | 26 | permissions: |
32 | 27 | # required for all workflows |
|
93 | 88 | # For more 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 |
94 | 89 | # queries: security-extended,security-and-quality |
95 | 90 |
|
96 | | - # If the analyze step fails for one of the languages you are analyzing with |
97 | | - # "We were unable to automatically build your code", modify the matrix above |
98 | | - # to set the build mode to "manual" for that language. Then modify this step |
99 | | - # to build your code. |
100 | | - # ℹ️ Command-line programs to run using the OS shell. |
101 | | - # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun |
102 | | - - if: matrix.build-mode == 'manual' |
103 | | - shell: bash |
104 | | - run: | |
105 | | - echo 'If you are using a "manual" build mode for one or more of the' \ |
106 | | - 'languages you are analyzing, replace this with the commands to build' \ |
107 | | - 'your code, for example:' |
108 | | - echo ' make bootstrap' |
109 | | - echo ' make release' |
110 | | - exit 1 |
111 | | -
|
112 | 91 | - name: Perform CodeQL Analysis |
113 | 92 | uses: github/codeql-action/analyze@v3 |
114 | 93 | with: |
|
0 commit comments