Skip to content

Commit

Permalink
Add CodeQL pipeline (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleks-ivanov authored Jun 1, 2021
1 parent 57d2d00 commit 74bd492
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/codeql-analysis.yml
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)

0 comments on commit 74bd492

Please sign in to comment.