-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (34 loc) · 788 Bytes
/
Copy pathcodeql.yml
File metadata and controls
43 lines (34 loc) · 788 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
39
40
41
42
43
name: CodeQL
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '0 6 * * 1'
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
permissions:
security-events: write
contents: read
jobs:
analyze:
name: CodeQL Analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: csharp
build-mode: manual
- name: Setup .NET
uses: actions/setup-dotnet@v6
with:
dotnet-version: |
8.0.x
10.0.x
- name: Build
run: dotnet build --configuration Release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4