Merge pull request #369 from xt0rted/dependabot/github_actions/github… #933
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 | |
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 |