Skip to content

Merge pull request #369 from xt0rted/dependabot/github_actions/github… #933

Merge pull request #369 from xt0rted/dependabot/github_actions/github…

Merge pull request #369 from xt0rted/dependabot/github_actions/github… #933

name: CodeQL
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: "52 0 * * 5"
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language:
- csharp
steps:
- name: Check out repository
uses: actions/checkout@v4.2.2
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Set up .NET
uses: xt0rted/setup-dotnet@v1.5.0
with:
source-url: https://nuget.pkg.github.com/xt0rted/index.json
nuget_auth_token: ${{ secrets.GITHUB_TOKEN }}
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3