Skip to content

Commit 4ad96c9

Browse files
authored
Update codeql.yml
1 parent 77363c4 commit 4ad96c9

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/codeql.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
# - https://gh.io/supported-runners-and-hardware-resources
2626
# - https://gh.io/using-larger-runners (GitHub.com only)
2727
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
28-
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
28+
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') ||'windows-latest'}}
2929
permissions:
3030
# required for all workflows
3131
security-events: write
@@ -41,8 +41,12 @@ jobs:
4141
fail-fast: false
4242
matrix:
4343
include:
44+
- language: actions
45+
build-mode: none
4446
- language: c-cpp
45-
build-mode: autobuild
47+
build-mode: manual
48+
- language: python
49+
build-mode: none
4650
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
4751
# Use `c-cpp` to analyze code written in C, C++ or both
4852
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
@@ -81,7 +85,7 @@ jobs:
8185
# ℹ️ Command-line programs to run using the OS shell.
8286
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
8387
- if: matrix.build-mode == 'manual'
84-
shell: bash
88+
shell: cmd
8589
run: |
8690
echo 'If you are using a "manual" build mode for one or more of the' \
8791
'languages you are analyzing, replace this with the commands to build' \

0 commit comments

Comments
 (0)