-
Notifications
You must be signed in to change notification settings - Fork 53
38 lines (31 loc) · 831 Bytes
/
codeql.yml
File metadata and controls
38 lines (31 loc) · 831 Bytes
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
name: "CodeQL"
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
schedule:
- cron: '18 17 * * 5'
jobs:
analyze:
runs-on: windows-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'csharp' ]
steps:
- uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.1
- name: Build solution
run: msbuild Source/openHistorian.sln -t:restore,build -p:Configuration=Debug -p:UseSharedCompilation=false -p:PostBuildEvent=
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3