Skip to content

Commit

Permalink
U/sgriffin/codeql (#78)
Browse files Browse the repository at this point in the history
* Create codeql.yml

* merge codeql into ci
  • Loading branch information
stephenegriffin authored Sep 5, 2023
1 parent 3e3c8cb commit 54bc2aa
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,22 @@ on:

jobs:
build:

runs-on: windows-latest
continue-on-error: true
timeout-minutes: 360
permissions:
actions: read
contents: read
security-events: write

steps:
- uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: 'csharp'

- name: Machine setup
shell: pwsh
run: ./scripts/machine-setup.ps1
Expand Down Expand Up @@ -52,6 +61,11 @@ jobs:
$path = & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -property installationPath
& $path\MSBuild\Current\Bin\amd64\msbuild.exe /m /p:Configuration="Release" ./FSSHTTPWOPIInspector/Test/WOPIautomation/WOPIautomation.sln
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:csharp"

- name: Publish Artifacts
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 54bc2aa

Please sign in to comment.