2020-11-21 12:49:52 -05: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
|
2023-10-17 20:15:17 -04:00
|
|
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
2022-11-09 09:28:52 -05:00
|
|
|
- name: Setup .NET
|
2023-12-04 10:55:08 -05:00
|
|
|
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4.0.0
|
2020-11-21 13:03:09 -05:00
|
|
|
with:
|
2023-11-15 10:16:51 -05:00
|
|
|
dotnet-version: '8.0.x'
|
2021-11-08 08:55:16 -05:00
|
|
|
|
2020-11-21 12:49:52 -05:00
|
|
|
- name: Initialize CodeQL
|
2024-04-17 12:45:12 -04:00
|
|
|
uses: github/codeql-action/init@c7f9125735019aa87cfc361530512d50ea439c71 # v3.25.1
|
2020-11-21 12:49:52 -05:00
|
|
|
with:
|
|
|
|
languages: ${{ matrix.language }}
|
2020-11-21 13:21:58 -05:00
|
|
|
queries: +security-extended
|
2020-11-21 12:49:52 -05:00
|
|
|
- name: Autobuild
|
2024-04-17 12:45:12 -04:00
|
|
|
uses: github/codeql-action/autobuild@c7f9125735019aa87cfc361530512d50ea439c71 # v3.25.1
|
2020-11-21 12:49:52 -05:00
|
|
|
- name: Perform CodeQL Analysis
|
2024-04-17 12:45:12 -04:00
|
|
|
uses: github/codeql-action/analyze@c7f9125735019aa87cfc361530512d50ea439c71 # v3.25.1
|