Skip to content

Commit d3b004d

Browse files
dev: fixed codeql-action (#291)
1 parent 65f58d8 commit d3b004d

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,16 @@ jobs:
4848
- name: Checkout repository
4949
uses: actions/checkout@v4
5050

51+
- uses: actions/setup-dotnet@v4
52+
with:
53+
dotnet-version: |
54+
6.0.x
55+
7.0.x
56+
9.0.x
57+
5158
# Initializes the CodeQL tools for scanning.
5259
- name: Initialize CodeQL
53-
uses: github/codeql-action/init@v2
60+
uses: github/codeql-action/init@v3
5461
with:
5562
languages: ${{ matrix.language }}
5663
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -64,7 +71,7 @@ jobs:
6471
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
6572
# If this step fails, then you should remove it and run the build manually (see below)
6673
- name: Autobuild
67-
uses: github/codeql-action/autobuild@v2
74+
uses: github/codeql-action/autobuild@v3
6875

6976
# ℹ️ Command-line programs to run using the OS shell.
7077
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -75,9 +82,8 @@ jobs:
7582
# - run: |
7683
# echo "Run, Build Application using script"
7784
# ./location_of_script_within_repo/buildscript.sh
78-
7985
- name: Perform CodeQL Analysis
80-
uses: github/codeql-action/analyze@v2
86+
uses: github/codeql-action/analyze@v3
8187
with:
8288
category: "/language:${{matrix.language}}"
8389

0 commit comments

Comments
 (0)