Skip to content

Run analyzers that sonar cloud runs #2481

Run analyzers that sonar cloud runs

Run analyzers that sonar cloud runs #2481

Triggered via pull request October 6, 2024 13:46
Status Failure
Total duration 2m 3s
Artifacts

codeql.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
Analyze (csharp): src/Altinn.App.Core/Helpers/DataModel/DataModel.cs#L144
Member 'GetResolvedKeysRecursive' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Analyze (csharp): src/Altinn.App.Core/Helpers/DataModel/DataModel.cs#L144
Member 'GetResolvedKeysRecursive' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
Analyze (csharp)
Assets file '/home/runner/work/app-lib-dotnet/app-lib-dotnet/src/Altinn.App.Api/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyze (csharp)
Assets file '/home/runner/work/app-lib-dotnet/app-lib-dotnet/test/Altinn.App.Core.Tests/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyze (csharp)
Assets file '/home/runner/work/app-lib-dotnet/app-lib-dotnet/test/Altinn.App.Api.Tests/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyze (csharp)
Assets file '/home/runner/work/app-lib-dotnet/app-lib-dotnet/src/Altinn.App.Core/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyze (csharp)
Assets file '/home/runner/work/app-lib-dotnet/app-lib-dotnet/test/Altinn.App.Common.Tests/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyze (csharp)
We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.19.0/x64/codeql/csharp/tools/autobuild.sh". Exit code was 1 and last log line was: Error: Could not auto-detect a suitable build method. See the logs for more details.
Analyze (csharp)
Unexpected input(s) 'include-prerelease', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']