Fix codeql pipeline (#4)

This commit is contained in:
2022-01-02 17:44:49 +02:00
committed by GitHub
parent 2fef6cf1ac
commit 358d3c6795
2 changed files with 13 additions and 4 deletions
+10 -2
View File
@@ -24,6 +24,11 @@ jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
env:
Configuration: Release
Solution_Path: MTSC.sln
Source_Project_Path: MTSC\MTSC.csproj
Actions_Allow_Unsecure_Commands: true
permissions:
actions: read
contents: read
@@ -57,8 +62,8 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
# - name: Autobuild
# uses: github/codeql-action/autobuild@v1
# ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -71,5 +76,8 @@ jobs:
# make bootstrap
# make release
- name: Build MTSC project
run: dotnet build MTSC -c $env:Configuration
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
+3 -2
View File
@@ -1,7 +1,7 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29102.190
# Visual Studio Version 17
VisualStudioVersion = 17.0.31815.197
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MTSC", "MTSC\MTSC.csproj", "{869DAEBC-5884-43C9-BA0B-2C4376A7ED1C}"
EndProject
@@ -15,6 +15,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Pipelines", "Pipelines", "{
ProjectSection(SolutionItems) = preProject
.github\workflows\cd.yaml = .github\workflows\cd.yaml
.github\workflows\ci.yaml = .github\workflows\ci.yaml
.github\workflows\codeql-analysis.yml = .github\workflows\codeql-analysis.yml
EndProjectSection
EndProject
Global