Skip to content

Commit 8943147

Browse files
committed
Update CodeQL to use .NET 6
1 parent 1ab2af0 commit 8943147

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,31 +13,37 @@ jobs:
1313
runs-on: windows-latest
1414
steps:
1515
# Due to the insufficient memory allocated by default, CodeQL sometimes requires more to be manually allocated
16-
- name: Configure Pagefile
16+
-
17+
name: Configure Pagefile
1718
id: config_pagefile
1819
uses: al-cheb/[email protected]
1920
with:
2021
minimum-size: 8GB
2122
maximum-size: 32GB
2223
disk-root: "D:"
23-
24-
- name: Checkout repository
24+
-
25+
name: Checkout repository
2526
id: checkout_repo
2627
uses: actions/[email protected]
27-
28-
- name: Initialize CodeQL
28+
-
29+
name: Setup .NET
30+
uses: actions/[email protected]
31+
with:
32+
dotnet-version: '6.0'
33+
-
34+
name: Initialize CodeQL
2935
id: init_codeql
3036
uses: github/codeql-action/init@v1
3137
with:
3238
queries: security-and-quality
33-
34-
- name: Build project
39+
-
40+
name: Build project
3541
id: build_project
3642
shell: pwsh
3743
run: |
3844
dotnet build ./src/RestSharp/RestSharp.csproj -c Release
39-
40-
- name: Perform CodeQL Analysis
45+
-
46+
name: Perform CodeQL Analysis
4147
id: analyze_codeql
4248
uses: github/codeql-action/analyze@v1
4349

0 commit comments

Comments
 (0)