-
Notifications
You must be signed in to change notification settings - Fork 35
44 lines (35 loc) · 1.01 KB
/
Copy pathcodeql-analysis.yml
File metadata and controls
44 lines (35 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: "CodeQL"
on:
push:
paths:
- RecursiveExtractor.Blazor
- RecursiveExtractor.Cli
- RecursiveExtractor.Tests
- RecursiveExtractor
pull_request:
schedule:
- cron: '0 5 * * 2'
jobs:
CodeQL-Build:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e # v2.8.0
with:
fetch-depth: 0
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@51f68377c181a79065c61bd492bd49be4575c439 # v1.7.2
with:
dotnet-version: 10.0.x
- name: Initialize CodeQL
uses: github/codeql-action/init@b8d3b6e8af63cde30bdc382c0bc28114f4346c88 # v2.28.1
with:
languages: csharp
- name: Build RecursiveExtractor
run: |
dotnet restore RecursiveExtractor.sln
dotnet build -c Release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@b8d3b6e8af63cde30bdc382c0bc28114f4346c88 # v2.28.1