-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
57d2d00
commit 74bd492
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: CodeQL Analysis | ||
|
||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: '0 8 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: windows-latest | ||
steps: | ||
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
|
||
- name: Checkout repository | ||
id: checkout_repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Initialize CodeQL | ||
id: init_codeql | ||
uses: github/codeql-action/init@v1 | ||
with: | ||
language: csharp | ||
queries: security-and-quality | ||
|
||
- name: Build solution | ||
id: build_solution | ||
run: | | ||
nuget restore .\TestFx.sln | ||
msbuild .\TestFx.sln /p:UseSharedCompilation=false | ||
- name: Perform CodeQL Analysis | ||
id: analyze_codeql | ||
uses: github/codeql-action/analyze@v1 | ||
|
||
# Built with ❤ by [Pipeline Foundation](https://pipeline.foundation) |