2020-11-21 17:49:52 +00:00
|
|
|
name: "CodeQL"
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
schedule:
|
|
|
|
- cron: '24 2 * * 4'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
analyze:
|
|
|
|
name: Analyze
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
language: [ 'csharp' ]
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2024-06-13 17:51:02 +00:00
|
|
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
2022-11-09 14:28:52 +00:00
|
|
|
- name: Setup .NET
|
2024-07-09 15:28:07 +00:00
|
|
|
uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # v4.0.1
|
2020-11-21 18:03:09 +00:00
|
|
|
with:
|
2023-11-15 15:16:51 +00:00
|
|
|
dotnet-version: '8.0.x'
|
2021-11-08 13:55:16 +00:00
|
|
|
|
2020-11-21 17:49:52 +00:00
|
|
|
- name: Initialize CodeQL
|
2024-08-26 20:40:49 +00:00
|
|
|
uses: github/codeql-action/init@2c779ab0d087cd7fe7b826087247c2c81f27bfa6 # v3.26.5
|
2020-11-21 17:49:52 +00:00
|
|
|
with:
|
|
|
|
languages: ${{ matrix.language }}
|
2020-11-21 18:21:58 +00:00
|
|
|
queries: +security-extended
|
2020-11-21 17:49:52 +00:00
|
|
|
- name: Autobuild
|
2024-08-26 20:40:49 +00:00
|
|
|
uses: github/codeql-action/autobuild@2c779ab0d087cd7fe7b826087247c2c81f27bfa6 # v3.26.5
|
2020-11-21 17:49:52 +00:00
|
|
|
- name: Perform CodeQL Analysis
|
2024-08-26 20:40:49 +00:00
|
|
|
uses: github/codeql-action/analyze@2c779ab0d087cd7fe7b826087247c2c81f27bfa6 # v3.26.5
|