5757
5858 # Initializes the CodeQL tools for scanning.
5959 - name : Initialize CodeQL
60- uses : github/codeql-action/init@v1
60+ uses : github/codeql-action/init@v2
6161 with :
6262 languages : ${{ matrix.language }}
6363 # If you wish to specify custom queries, you can do so here or in a config file.
@@ -66,21 +66,16 @@ jobs:
6666 # queries: ./path/to/local/query, your-org/your-repo/queries@main
6767
6868 # This prevents errors when automatically installing SDK.
69- # CodeQL does not install .NET 5.0 nor 6 .0.
70- - name : Setup .NET 5 .0 SDK+Runtime
69+ # CodeQL does not install .NET 8 .0.
70+ - name : Setup .NET 8 .0 SDK+Runtime
71717272 with :
73- dotnet-version : 5.0.404
74-
75- - name : Setup .NET 6.0 SDK+Runtime
76- 77- with :
78- dotnet-version : 6.0.101
73+ dotnet-version : 8.0.100
7974
8075 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
8176 # If this step fails, then you should remove it and run the build manually (see below)
8277 - name : Autobuild
83- uses : github/codeql-action/autobuild@v1
78+ uses : github/codeql-action/autobuild@v2
8479
8580 # ℹ️ Command-line programs to run using the OS shell.
8681 # 📚 https://git.io/JvXDl
9489 # make release
9590
9691 - name : Perform CodeQL Analysis
97- uses : github/codeql-action/analyze@v1
92+ uses : github/codeql-action/analyze@v2
0 commit comments