@@ -7,7 +7,7 @@ name: "CodeQL"
7
7
8
8
on :
9
9
schedule :
10
- - cron : ' 0 0 * * *' # once in a day at 00:00
10
+ - cron : ' 0 0 * * *' # once in a day at 00:00
11
11
workflow_dispatch :
12
12
13
13
jobs :
18
18
strategy :
19
19
fail-fast : false
20
20
matrix :
21
- # Override automatic language detection by changing the below list
22
- # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
23
21
language : ['csharp']
24
- # Learn more...
25
- # https://docs.github.com/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
26
22
27
23
steps :
28
24
- name : configure Pagefile
@@ -35,31 +31,16 @@ jobs:
35
31
- name : Checkout repository
36
32
uses : actions/checkout@v4
37
33
38
- # Initializes the CodeQL tools for scanning.
39
34
- name : Initialize CodeQL
40
35
uses : github/codeql-action/init@v3
41
36
with :
42
37
languages : ${{ matrix.language }}
43
- # If you wish to specify custom queries, you can do so here or in a config file.
44
- # By default, queries listed here will override any specified in a config file.
45
- # Prefix the list here with "+" to use these queries and those in the config file.
46
- # queries: ./path/to/local/query, your-org/your-repo/queries@main
47
38
48
- # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
49
- # If this step fails, then you should remove it and run the build manually (see below)
50
- - name : Autobuild
51
- uses : github/codeql-action/autobuild@v3
39
+ - name : Setup dotnet
40
+ uses : actions/setup-dotnet@v4
52
41
53
- # ℹ️ Command-line programs to run using the OS shell.
54
- # 📚 https://git.io/JvXDl
55
-
56
- # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
57
- # and modify them (or add more) to build your code if your project
58
- # uses a compiled language
59
-
60
- # - run: |
61
- # make bootstrap
62
- # make release
42
+ - name : dotnet pack opentelemetry-dotnet-contrib.proj
43
+ run : dotnet pack opentelemetry-dotnet-contrib.proj --configuration Release
63
44
64
45
- name : Perform CodeQL Analysis
65
46
uses : github/codeql-action/analyze@v3
0 commit comments