2020-11-21 18:49:52 +01: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
|
2022-10-19 22:17:21 +02:00
|
|
|
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3
|
2020-11-21 19:03:09 +01:00
|
|
|
- name: Setup .NET Core
|
2022-10-28 17:43:14 +02:00
|
|
|
uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a # tag=v3
|
2020-11-21 19:03:09 +01:00
|
|
|
with:
|
2021-09-25 14:40:19 +02:00
|
|
|
dotnet-version: '6.0.x'
|
2021-11-08 14:55:16 +01:00
|
|
|
|
2020-11-21 18:49:52 +01:00
|
|
|
- name: Initialize CodeQL
|
2022-11-05 17:05:41 +01:00
|
|
|
uses: github/codeql-action/init@c3b6fce4ee2ca25bc1066aa3bf73962fda0e8898 # tag=v2
|
2020-11-21 18:49:52 +01:00
|
|
|
with:
|
|
|
|
languages: ${{ matrix.language }}
|
2020-11-21 19:21:58 +01:00
|
|
|
queries: +security-extended
|
2020-11-21 18:49:52 +01:00
|
|
|
- name: Autobuild
|
2022-11-05 17:05:41 +01:00
|
|
|
uses: github/codeql-action/autobuild@c3b6fce4ee2ca25bc1066aa3bf73962fda0e8898 # tag=v2
|
2020-11-21 18:49:52 +01:00
|
|
|
- name: Perform CodeQL Analysis
|
2022-11-05 17:05:41 +01:00
|
|
|
uses: github/codeql-action/analyze@c3b6fce4ee2ca25bc1066aa3bf73962fda0e8898 # tag=v2
|