Mercurial > octave
comparison .github/workflows/codeql-analysis.yaml @ 31232:adfbd487d0f6 stable
GitHub-CI (CodeQL): Update to CodeQL action version v2.
* .github/workflows/codeql-analysis.yaml: CodeQL action version v1 is
deprecated. Update to CodeQL action version v2.
See: https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Mon, 19 Sep 2022 13:13:31 +0200 |
parents | 0ffe2f9a19f3 |
children | 8b869c5d6ce8 |
comparison
equal
deleted
inserted
replaced
31220:5b021ecc8bfe | 31232:adfbd487d0f6 |
---|---|
49 LDFLAGS="-L/usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/hdf5/serial" \ | 49 LDFLAGS="-L/usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/hdf5/serial" \ |
50 --disable-docs | 50 --disable-docs |
51 | 51 |
52 - name: initialize CodeQL | 52 - name: initialize CodeQL |
53 # Initialize the CodeQL tools for scanning. | 53 # Initialize the CodeQL tools for scanning. |
54 uses: github/codeql-action/init@v1 | 54 uses: github/codeql-action/init@v2 |
55 with: | 55 with: |
56 languages: ${{ matrix.language }} | 56 languages: ${{ matrix.language }} |
57 # If you wish to specify custom queries, you can do so here or in a config file. | 57 # If you wish to specify custom queries, you can do so here or in a config file. |
58 # By default, queries listed here will override any specified in a config file. | 58 # By default, queries listed here will override any specified in a config file. |
59 # Prefix the list here with "+" to use these queries and those in the config file. | 59 # Prefix the list here with "+" to use these queries and those in the config file. |
61 | 61 |
62 - name: build | 62 - name: build |
63 run: make -C ./.build all -j2 V=1 | 63 run: make -C ./.build all -j2 V=1 |
64 | 64 |
65 - name: perform CodeQL analysis | 65 - name: perform CodeQL analysis |
66 uses: github/codeql-action/analyze@v1 | 66 uses: github/codeql-action/analyze@v2 |
67 | 67 |
68 | 68 |
69 windows: | 69 windows: |
70 name: CodeQL analysis (Windows) | 70 name: CodeQL analysis (Windows) |
71 runs-on: windows-2019 | 71 runs-on: windows-2019 |
164 --disable-docs \ | 164 --disable-docs \ |
165 ac_cv_search_tputs=-ltermcap | 165 ac_cv_search_tputs=-ltermcap |
166 | 166 |
167 - name: initialize CodeQL | 167 - name: initialize CodeQL |
168 # Initialize the CodeQL tools for scanning. | 168 # Initialize the CodeQL tools for scanning. |
169 uses: github/codeql-action/init@v1 | 169 uses: github/codeql-action/init@v2 |
170 with: | 170 with: |
171 languages: ${{ matrix.language }} | 171 languages: ${{ matrix.language }} |
172 # If you wish to specify custom queries, you can do so here or in a config file. | 172 # If you wish to specify custom queries, you can do so here or in a config file. |
173 # By default, queries listed here will override any specified in a config file. | 173 # By default, queries listed here will override any specified in a config file. |
174 # Prefix the list here with "+" to use these queries and those in the config file. | 174 # Prefix the list here with "+" to use these queries and those in the config file. |
178 # Spawning processes seems to have a big overhead on this platform. | 178 # Spawning processes seems to have a big overhead on this platform. |
179 # Use a somewhat larger number of parallel processes to compensate for that. | 179 # Use a somewhat larger number of parallel processes to compensate for that. |
180 run: make -C ./.build all -j8 V=1 | 180 run: make -C ./.build all -j8 V=1 |
181 | 181 |
182 - name: perform CodeQL analysis | 182 - name: perform CodeQL analysis |
183 uses: github/codeql-action/analyze@v1 | 183 uses: github/codeql-action/analyze@v2 |