CodeQL: Let's see if this works on GitHub Windows worker

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman 2022-03-07 14:30:29 +01:00
parent 017d5d5c99
commit 49ffd4c186

View File

@ -23,7 +23,7 @@ on:
jobs: jobs:
analyze: analyze:
name: Analyze name: Analyze
runs-on: ubuntu-latest runs-on: windows-2019
permissions: permissions:
actions: read actions: read
contents: read contents: read
@ -50,21 +50,12 @@ jobs:
# Prefix the list here with "+" to use these queries and those in the config file. # Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main # queries: ./path/to/local/query, your-org/your-repo/queries@main
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). - name: Prepare MSVC
# If this step fails, then you should remove it and run the build manually (see below) uses: bus1/cabuild/action/msdevshell@v1
- name: Autobuild with:
uses: github/codeql-action/autobuild@v1 architecture: x64
# Command-line programs to run using the OS shell. - run: msbuild WinStd.sln -t:Build -p:Configuration=Release -p:Platform=x64
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1 uses: github/codeql-action/analyze@v1