Skip to content

chore: added comment #139

chore: added comment

chore: added comment #139

name: CodeQL Analysis
on:
push:
paths:
- 'src/Arius.Core/**'
- 'src/Arius.Cli/**'
- 'src/Arius.UI/**'
- '.github/workflows/codeql-analysis.yml'
jobs:
analyze:
name: Analyze Arius
runs-on: windows-latest # run on windows-latest for Arius.UI
timeout-minutes: 360
permissions:
actions: read
contents: read
security-events: write
defaults:
run:
working-directory: ./src
strategy:
fail-fast: false
matrix:
language: [ 'csharp' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true # Check out WouterVanRanst.Utils
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: security-and-quality # https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning#using-queries-in-ql-packs
- name: Build
run: |
dotnet build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2