Skip to content

Commit 3c4b51a

Browse files
authored
CodeQL Setup (#213)
1 parent a522675 commit 3c4b51a

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: "Code Scanning - Application Inspector"
2+
3+
on:
4+
push:
5+
paths:
6+
- AppInspector/*
7+
- AppInspector.CLI/*
8+
- MultiExtractor/*
9+
- RulesEngine/*
10+
schedule:
11+
- cron: '0 7 * * 5'
12+
13+
jobs:
14+
CodeQL-Build:
15+
16+
strategy:
17+
fail-fast: false
18+
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- name: Checkout repository
23+
uses: actions/checkout@v2
24+
with:
25+
fetch-depth: 0
26+
27+
- name: Initialize CodeQL
28+
uses: github/codeql-action/init@v1
29+
with:
30+
languages: javascript, csharp
31+
32+
- name: Build Application Inspector
33+
run: |
34+
dotnet restore
35+
dotnet build AppInspector.CLI.csproj -c Release
36+
working-directory: ./AppInspector.CLI
37+
38+
- name: Perform CodeQL Analysis
39+
uses: github/codeql-action/analyze@v1

0 commit comments

Comments
 (0)