Skip to content

feat: upgrade to .NET 9 #515

feat: upgrade to .NET 9

feat: upgrade to .NET 9 #515

Triggered via pull request December 6, 2024 10:56
@AlxandrAlxandr
synchronize #166
feat/net9
Status Success
Total duration 3m 0s
Artifacts 2

build-and-analyze.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

17 warnings
Check sln files
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build and Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build and Test: src/Altinn.Authorization.ServiceDefaults/test/ServiceDefaults.Npgsql.Tests/DatabaseTestsBase.AppContext.Builder.cs#L174
'YuniqlDatabaseMigratorExtensions.AddYuniqlMigrations(INpgsqlDatabaseBuilder, Action<YuniqlDatabaseMigratorOptions>)' is obsolete: 'Use overload with serviceKey'
Build and Test: src/Altinn.Authorization.ServiceDefaults/test/ServiceDefaults.Npgsql.Tests/DatabaseTestsBase.AppContext.Builder.cs#L174
'YuniqlDatabaseMigratorExtensions.AddYuniqlMigrations(INpgsqlDatabaseBuilder, Action<YuniqlDatabaseMigratorOptions>)' is obsolete: 'Use overload with serviceKey'
Build and Test: src/Altinn.Authorization.ServiceDefaults/test/ServiceDefaults.Npgsql.Tests/DatabaseTestsBase.AppContext.Builder.cs#L174
'YuniqlDatabaseMigratorExtensions.AddYuniqlMigrations(INpgsqlDatabaseBuilder, Action<YuniqlDatabaseMigratorOptions>)' is obsolete: 'Use overload with serviceKey'
Build and Test: src/Altinn.Authorization.ServiceDefaults/test/ServiceDefaults.Npgsql.Tests/DatabaseTestsBase.AppContext.Builder.cs#L174
'YuniqlDatabaseMigratorExtensions.AddYuniqlMigrations(INpgsqlDatabaseBuilder, Action<YuniqlDatabaseMigratorOptions>)' is obsolete: 'Use overload with serviceKey'
Analyze
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Analyze: src/Altinn.Urn/src/Altinn.Urn.SourceGenerator/Parsing/UrnRecordParser.cs#L41
Make '_seenPrefixes' 'readonly'. (https://rules.sonarsource.com/csharp/RSPEC-2933)
Analyze: src/Altinn.Urn/src/Altinn.Urn.SourceGenerator/Parsing/UrnRecordParser.cs#L168
Refactor this method to reduce its Cognitive Complexity from 63 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Analyze: src/Altinn.Urn/src/Altinn.Urn.SourceGenerator/Parsing/UrnRecordParser.cs#L473
Refactor this method to reduce its Cognitive Complexity from 36 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Analyze: src/Altinn.Authorization.ServiceDefaults/test/ServiceDefaults.Npgsql.Tests/DatabaseTestsBase.AppContext.Builder.cs#L174
'YuniqlDatabaseMigratorExtensions.AddYuniqlMigrations(INpgsqlDatabaseBuilder, Action<YuniqlDatabaseMigratorOptions>)' is obsolete: 'Use overload with serviceKey'
Analyze: src/Altinn.Authorization.ServiceDefaults/test/ServiceDefaults.Npgsql.Tests/DatabaseTestsBase.AppContext.Builder.cs#L174
'YuniqlDatabaseMigratorExtensions.AddYuniqlMigrations(INpgsqlDatabaseBuilder, Action<YuniqlDatabaseMigratorOptions>)' is obsolete: 'Use overload with serviceKey'
Analyze: src/Altinn.Urn/src/Altinn.Urn.SourceGenerator/Parsing/UrnRecordParser.cs#L41
Make '_seenPrefixes' 'readonly'. (https://rules.sonarsource.com/csharp/RSPEC-2933)
Analyze: src/Altinn.Urn/src/Altinn.Urn.SourceGenerator/Parsing/UrnRecordParser.cs#L168
Refactor this method to reduce its Cognitive Complexity from 63 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Analyze: src/Altinn.Urn/src/Altinn.Urn.SourceGenerator/Parsing/UrnRecordParser.cs#L473
Refactor this method to reduce its Cognitive Complexity from 36 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Analyze: src/Altinn.Authorization.ServiceDefaults/test/ServiceDefaults.Npgsql.Tests/DatabaseTestsBase.AppContext.Builder.cs#L174
'YuniqlDatabaseMigratorExtensions.AddYuniqlMigrations(INpgsqlDatabaseBuilder, Action<YuniqlDatabaseMigratorOptions>)' is obsolete: 'Use overload with serviceKey'
Analyze: src/Altinn.Authorization.ServiceDefaults/test/ServiceDefaults.Npgsql.Tests/DatabaseTestsBase.AppContext.Builder.cs#L174
'YuniqlDatabaseMigratorExtensions.AddYuniqlMigrations(INpgsqlDatabaseBuilder, Action<YuniqlDatabaseMigratorOptions>)' is obsolete: 'Use overload with serviceKey'

Artifacts

Produced during runtime
Name Size Digest
binlog Expired
6.84 MB
sha256:c2d10e86365b4ee224c01b02e863675c9d3f3a5bd272ee8b830eac7a8346ef46
packages Expired
5.78 MB
sha256:5f6ece5faaf740414301d80bbeaf1e809bda91057a1fd803e376098e56c70631