Mercurial > p > roundup > code
comparison .github/workflows/codeql-analysis.yml @ 6837:432edc4d8123
Update codeql-analysis to version 2
see:
https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 30 Aug 2022 23:43:49 -0400 |
| parents | 9972e26ab140 |
| children | ca6b056b79a4 |
comparison
equal
deleted
inserted
replaced
| 6836:a8c757a33ab1 | 6837:432edc4d8123 |
|---|---|
| 38 - name: Checkout repository | 38 - name: Checkout repository |
| 39 uses: actions/checkout@v2 | 39 uses: actions/checkout@v2 |
| 40 | 40 |
| 41 # Initializes the CodeQL tools for scanning. | 41 # Initializes the CodeQL tools for scanning. |
| 42 - name: Initialize CodeQL | 42 - name: Initialize CodeQL |
| 43 uses: github/codeql-action/init@v1 | 43 uses: github/codeql-action/init@v2 |
| 44 with: | 44 with: |
| 45 languages: ${{ matrix.language }} | 45 languages: ${{ matrix.language }} |
| 46 # If you wish to specify custom queries, you can do so here or in a config file. | 46 # If you wish to specify custom queries, you can do so here or in a config file. |
| 47 # By default, queries listed here will override any specified in a config file. | 47 # By default, queries listed here will override any specified in a config file. |
| 48 # Prefix the list here with "+" to use these queries and those in the config file. | 48 # Prefix the list here with "+" to use these queries and those in the config file. |
| 49 # queries: ./path/to/local/query, your-org/your-repo/queries@main | 49 # queries: ./path/to/local/query, your-org/your-repo/queries@main |
| 50 | 50 |
| 51 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). | 51 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). |
| 52 # If this step fails, then you should remove it and run the build manually (see below) | 52 # If this step fails, then you should remove it and run the build manually (see below) |
| 53 - name: Autobuild | 53 - name: Autobuild |
| 54 uses: github/codeql-action/autobuild@v1 | 54 uses: github/codeql-action/autobuild@v2 |
| 55 | 55 |
| 56 # âšī¸ Command-line programs to run using the OS shell. | 56 # âšī¸ Command-line programs to run using the OS shell. |
| 57 # đ https://git.io/JvXDl | 57 # đ https://git.io/JvXDl |
| 58 | 58 |
| 59 # âī¸ If the Autobuild fails above, remove it and uncomment the following three lines | 59 # âī¸ If the Autobuild fails above, remove it and uncomment the following three lines |
| 63 #- run: | | 63 #- run: | |
| 64 # make bootstrap | 64 # make bootstrap |
| 65 # make release | 65 # make release |
| 66 | 66 |
| 67 - name: Perform CodeQL Analysis | 67 - name: Perform CodeQL Analysis |
| 68 uses: github/codeql-action/analyze@v1 | 68 uses: github/codeql-action/analyze@v2 |
