Skip to content

feat: support cli provider and uri provider #189

feat: support cli provider and uri provider

feat: support cli provider and uri provider #189

Triggered via pull request January 3, 2025 10:07
Status Failure
Total duration 55s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 10 warnings
build: aliyun-net-sdk-core.Tests/Units/Auth/CLIProfileCredentialsProviderTest.cs#L12
Feature 'file-scoped namespace' is not available in C# 7.3. Please use language version 10.0 or greater.
build: aliyun-net-sdk-core.Tests/Units/Auth/URLCredentialProviderTest.cs#L6
Feature 'file-scoped namespace' is not available in C# 7.3. Please use language version 10.0 or greater.
build: aliyun-net-sdk-core.Tests/Units/Auth/CLIProfileCredentialsProviderTest.cs#L12
Feature 'file-scoped namespace' is not available in C# 7.3. Please use language version 10.0 or greater.
build: aliyun-net-sdk-core.Tests/Units/Auth/URLCredentialProviderTest.cs#L6
Feature 'file-scoped namespace' is not available in C# 7.3. Please use language version 10.0 or greater.
build
Process completed with exit code 1.
build: aliyun-net-sdk-core/Auth/Provider/InstanceProfileCredentialsProvider.cs#L40
'ECSMetadataServiceCredentialsFetcher.SetRoleName(string)' is obsolete
build: aliyun-net-sdk-core/Auth/Provider/InstanceProfileCredentialsProvider.cs#L103
'ECSMetadataServiceCredentialsFetcher.SetRoleName(string)' is obsolete
build: aliyun-net-sdk-core/Auth/Provider/URLCredentialProvider.cs#L119
The variable 'e' is declared but never used
build: aliyun-net-sdk-core/Auth/Provider/CLIProfileCredentialsProvider.cs#L251
Field 'CLIProfileCredentialsProvider.Profile.oidcTokenFile' is never assigned to, and will always have its default value null
build: aliyun-net-sdk-core/Auth/Provider/CLIProfileCredentialsProvider.cs#L253
Field 'CLIProfileCredentialsProvider.Profile.oidcProviderArn' is never assigned to, and will always have its default value null
build: aliyun-net-sdk-core/Auth/Provider/CLIProfileCredentialsProvider.cs#L245
Field 'CLIProfileCredentialsProvider.Profile.durationSeconds' is never assigned to, and will always have its default value
build: aliyun-net-sdk-core/Auth/Provider/CLIProfileCredentialsProvider.cs#L243
Field 'CLIProfileCredentialsProvider.Profile.roleSessionName' is never assigned to, and will always have its default value null
build: aliyun-net-sdk-core/Auth/Provider/CLIProfileCredentialsProvider.cs#L215
Field 'CLIProfileCredentialsProvider.Config.current' is never assigned to, and will always have its default value null
build: aliyun-net-sdk-core/Auth/Provider/CLIProfileCredentialsProvider.cs#L233
Field 'CLIProfileCredentialsProvider.Profile.name' is never assigned to, and will always have its default value null
build: aliyun-net-sdk-core/Auth/Provider/CLIProfileCredentialsProvider.cs#L263
Field 'CLIProfileCredentialsProvider.Profile.externalId' is never assigned to, and will always have its default value null