[release/5.1] (deps): Bump Microsoft.AspNet.WebApi.OwinSelfHost from 5.2.9 to 5.3.0 #415
Workflow file for this run
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
name: CodeQL Analysis | |
on: | |
push: | |
# ignore dependabot branches on push -> https://github.com/microsoft/binskim/issues/425#issuecomment-893373709 | |
branches-ignore: | |
- 'dependabot/**' | |
pull_request: | |
schedule: | |
- cron: '0 8 * * 1' | |
workflow_dispatch: | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v1 | |
with: | |
queries: security-and-quality | |
languages: csharp | |
- name: Build solution | |
shell: pwsh | |
run: | | |
$start = (Get-Location).Path.Length + 1 | |
$sln = Join-Path '..' 'ApiVersioning.sln' | |
$projects = Get-ChildItem src -Include *.csproj -Recurse | ` | |
ForEach-Object { $_.FullName.Substring($start) } | |
$json = ConvertTo-Json(New-Object PSObject -Property @{solution=@{path=$sln;projects=$projects}}) | |
$obj = New-Item -Path 'obj' -ItemType Directory -Force | |
$slnf = New-Item -Path (Join-Path $obj 'codeql.slnf') -ItemType File -Value $json -Force | |
dotnet build $slnf.FullName --configuration Release | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v1 | |
# Built with ❤ by [Pipeline Foundation](https://pipeline.foundation) |