Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update nuget package versions #3

Merged
merged 2 commits into from
Apr 20, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Bump Java version to 17 for Sonar analysis
Apolixit committed Apr 20, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 83c3b1e3339690ae5bc63250a1b678a54448e433
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -31,10 +31,10 @@ jobs:
- name: Restore dependencies
run: dotnet restore

- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: 'zulu'
- uses: actions/checkout@v3
with:
@@ -60,7 +60,7 @@ jobs:
run: |
New-Item -Path .\.sonar\scanner -ItemType Directory
dotnet tool update dotnet-sonarscanner --tool-path .\.sonar\scanner

- name: Install Dotnet coverage
shell: powershell
run: |
@@ -76,7 +76,7 @@ jobs:
dotnet build
dotnet-coverage collect "dotnet test" -f xml -o "coverage.xml"
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"

- name: Build test project
run: dotnet build .\Substrate.NET.Metadata.Tests


Unchanged files with check annotations Beta

public abstract class BaseMetadata<T> : BaseType
where T : BaseType, new()
{
protected BaseMetadata()

Check warning on line 8 in Substrate.NET.Metadata/Base/BaseMetadata.cs

GitHub Actions / build

Non-nullable property 'MetaDataInfo' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 8 in Substrate.NET.Metadata/Base/BaseMetadata.cs

GitHub Actions / build

Non-nullable property 'RuntimeMetadataData' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
{
}
protected BaseMetadata(string hex)

Check warning on line 12 in Substrate.NET.Metadata/Base/BaseMetadata.cs

GitHub Actions / build

Non-nullable property 'MetaDataInfo' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 12 in Substrate.NET.Metadata/Base/BaseMetadata.cs

GitHub Actions / build

Non-nullable property 'RuntimeMetadataData' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
{
Create(hex);
}
TypeSize = p - start;
}
public Str Prefix { get; private set; }

Check warning on line 31 in Substrate.NET.Metadata/V9/StorageMetadataV9.cs

GitHub Actions / build

Non-nullable property 'Prefix' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
public BaseVec<StorageEntryMetadataV9> Entries { get; private set; }

Check warning on line 32 in Substrate.NET.Metadata/V9/StorageMetadataV9.cs

GitHub Actions / build

Non-nullable property 'Entries' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
}
}
TypeSize = p - start;
}
public Str Name { get; private set; }

Check warning on line 35 in Substrate.NET.Metadata/Base/Variant.cs

GitHub Actions / build

Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
public BaseVec<Field> VariantFields { get; private set; }

Check warning on line 36 in Substrate.NET.Metadata/Base/Variant.cs

GitHub Actions / build

Non-nullable property 'VariantFields' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
public U8 Index { get; private set; }

Check warning on line 37 in Substrate.NET.Metadata/Base/Variant.cs

GitHub Actions / build

Non-nullable property 'Index' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
public BaseVec<Str> Docs { get; private set; }

Check warning on line 38 in Substrate.NET.Metadata/Base/Variant.cs

GitHub Actions / build

Non-nullable property 'Docs' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
}
}