53 lines
1.2 KiB
YAML
Raw Normal View History

2024-04-10 09:42:38 -04:00
name: "CodeQL"
on:
push:
2024-04-10 22:45:30 -04:00
branches: [ 10.8 ]
2024-04-19 21:41:03 -04:00
paths-ignore:
- '**/README.md'
- '.github/ISSUE_TEMPLATE/**'
- 'docs/**'
- 'images/**'
- 'manifest.json'
2024-04-10 09:42:38 -04:00
pull_request:
2024-04-10 22:45:30 -04:00
branches: [ 10.8 ]
2024-04-19 21:41:03 -04:00
paths-ignore:
- '**/README.md'
- '.github/ISSUE_TEMPLATE/**'
- 'docs/**'
- 'images/**'
- 'manifest.json'
2024-04-10 09:42:38 -04:00
permissions: write-all
2024-04-10 09:43:55 -04:00
2024-04-10 09:42:38 -04:00
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ 'csharp' ]
steps:
2024-04-10 14:40:29 -04:00
- uses: actions/checkout@v4
2024-04-10 09:42:38 -04:00
- name: Setup .NET
2024-04-10 14:40:29 -04:00
uses: actions/setup-dotnet@v4
2024-04-10 09:42:38 -04:00
with:
2024-04-10 14:40:29 -04:00
dotnet-version: 6.0.x
2024-04-10 09:42:38 -04:00
- name: Restore dependencies
run: dotnet restore
- name: Initialize CodeQL
uses: github/codeql-action/init@2e230e8fe0ad3a14a340ad0815ddb96d599d2aff # v3.25.8
2024-04-10 09:42:38 -04:00
with:
languages: ${{ matrix.language }}
queries: +security-extended
- name: Autobuild
uses: github/codeql-action/autobuild@2e230e8fe0ad3a14a340ad0815ddb96d599d2aff # v3.25.8
2024-04-10 09:42:38 -04:00
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@2e230e8fe0ad3a14a340ad0815ddb96d599d2aff # v3.25.8