Skip to content

Bump Microsoft.NET.Test.Sdk from 17.11.1 to 17.12.0 (#109) #890

Bump Microsoft.NET.Test.Sdk from 17.11.1 to 17.12.0 (#109)

Bump Microsoft.NET.Test.Sdk from 17.11.1 to 17.12.0 (#109) #890

name: CodeQL Analysis
on:
push:
branches: [ main ]
pull_request:
schedule:
- cron: '0 8 * * *'
jobs:
analyze:
name: CodeQL Analysis
runs-on: ubuntu-latest
permissions:
contents: read
actions: read
security-events: write
steps:
- name: Checkout repository
id: checkout_repo
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Initialize CodeQL
id: init_codeql
uses: github/codeql-action/init@v3
with:
queries: security-and-quality
- name: Build projects
id: build_projects
shell: pwsh
run: |
$projectsArray = @(
'.\src\kibali\Kibali.csproj',
'.\src\kibaliTool\KibaliTool.csproj',
'.\test\kibaliTests\KibaliTests.csproj'
)
$projectsArray | ForEach-Object {
dotnet build $PSItem -c Release
}
- name: Perform CodeQL Analysis
id: analyze_codeql
uses: github/codeql-action/analyze@v3
# Built with ❤ by [Pipeline Foundation](https://pipeline.foundation)