Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

CodeQL autobuild still fails when project uses dotnet 9.0#18954

Answeredbymbg
Gigas002 asked this question inQ&A
Discussion options

Is this a bug or expected issue?

Action itself is dead simple:https://github.com/Gigas002/dotnet_gh_deploy/blob/master/.github/workflows/codeql.yml
But looking at logs,codeql tries to usedotnet 8.0 instead, which fails:https://github.com/Gigas002/dotnet_gh_deploy/actions/runs/13724205415/job/38386637583

You must be logged in to vote
Answered by mbgMar 7, 2025

Hi@Gigas002,

The default version ofdotnet onubuntu-latest is currently8.0.112, so that is what CodeQL uses. If you are targeting a9.x project, then you will need to install that version ofusing asetup-dotnet step in your workflow before initialising CodeQL.

Replies: 1 comment 1 reply

Comment options

mbg
Mar 7, 2025
Maintainer

Hi@Gigas002,

The default version ofdotnet onubuntu-latest is currently8.0.112, so that is what CodeQL uses. If you are targeting a9.x project, then you will need to install that version ofusing asetup-dotnet step in your workflow before initialising CodeQL.

You must be logged in to vote
1 reply
@Gigas002
Comment options

I see, that makes sense. Thank you for explanation

Answer selected byGigas002
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
2 participants
@Gigas002@mbg

[8]ページ先頭

©2009-2025 Movatter.jp