-
-
Notifications
You must be signed in to change notification settings - Fork 67
/
analysis.yml
38 lines (33 loc) · 840 Bytes
/
analysis.yml
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: "Analysis"
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
analyze:
name: Analyze
runs-on: windows-latest
permissions:
contents: read
security-events: write
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.x
8.x
- name: Run .NET Code Analysis
uses: dotnet/code-analysis@main
id: code-analysis
with:
project: ClickHouse.Client\ClickHouse.Client.csproj
build-breaking: false
all-categories: all
- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v2
with:
path: ${{ steps.code-analysis.outputs.sarifFile }}
wait-for-processing: true