-
-
Notifications
You must be signed in to change notification settings - Fork 448
67 lines (54 loc) · 1.69 KB
/
Copy pathcodeql-analysis.yml
File metadata and controls
67 lines (54 loc) · 1.69 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
on:
workflow_dispatch:
schedule:
- cron: 0 6 * * *
push:
branches:
- main
paths:
- .github/workflows/codeql-analysis.yml
permissions: {}
name: Codeql analysis
jobs:
csharp:
name: CodeQL analysis (C#)
runs-on: windows-2025-vs2026
permissions:
contents: read
packages: read
security-events: write
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #v7.0.1
with:
persist-credentials: false
- name: Install resources
run: ./install.resources.sh x64 Q16-HDRI
working-directory: src/Magick.Native
shell: bash
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Initialize CodeQL
uses: github/codeql-action/init@5595ccaf912efad79be6eef63a5619ff05969be3 #4.37.6
with:
languages: csharp
- name: Build Magick.NET (Release)
run: ./build.Magick.NET.cmd Q16-HDRI "x64" Release
working-directory: build/windows
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@5595ccaf912efad79be6eef63a5619ff05969be3 #4.37.6
actions:
name: CodeQL analysis (GitHub Actions)
runs-on: ubuntu-24.04
permissions:
contents: read
security-events: write
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #v7.0.1
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@5595ccaf912efad79be6eef63a5619ff05969be3 #4.37.6
with:
languages: actions
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@5595ccaf912efad79be6eef63a5619ff05969be3 #4.37.6