Skip to content

Updated workflow to .NET 7.0 #33

Updated workflow to .NET 7.0

Updated workflow to .NET 7.0 #33

Triggered via push August 27, 2023 00:12
Status Success
Total duration 53s
Artifacts

dotnet.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
.NET 7.0.x
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
.NET 7.0.x: SharpNBT/Tags/EnumerableTag.cs#L124
Nullability of reference types in type of parameter 'item' of 'void EnumerableTag<T>.Insert(int index, T item)' doesn't match implicitly implemented member 'void IList<T>.Insert(int index, T item)' (possibly because of nullability attributes).
.NET 7.0.x: SharpNBT/Tags/EnumerableTag.cs#L137
Nullability of reference types in type of parameter 'value' of 'void EnumerableTag<T>.this[int index].set' doesn't match implicitly implemented member 'void IList<T>.this[int index].set' (possibly because of nullability attributes).
.NET 7.0.x: SharpNBT/Tags/EnumerableTag.cs#L104
Nullability of reference types in type of parameter 'item' of 'void EnumerableTag<T>.Add(T item)' doesn't match implicitly implemented member 'void ICollection<T>.Add(T item)' (possibly because of nullability attributes).
.NET 7.0.x: SharpNBT/TagWriter.cs#L313
Possible null reference argument for parameter 'value' in 'void TagWriter.WriteUTF8String(string value)'.
.NET 7.0.x: SharpNBT/SNBT/StringNbt.cs#L143
'BoolTag' is obsolete: 'Use the IsBool and Bool properties of ByteTag. This class will be removed in a future release.'
.NET 7.0.x: SharpNBT/SNBT/StringNbt.cs#L126
Converting null literal or possible null value to non-nullable type.
.NET 7.0.x: SharpNBT/SNBT/StringNbt.cs#L137
Possible null reference argument for parameter 'name' in 'CompoundTag StringNbt.ParseCompound(string name, Queue<Token> queue)'.
.NET 7.0.x: SharpNBT/SNBT/StringNbt.cs#L139
Possible null reference argument for parameter 'name' in 'ByteArrayTag StringNbt.ParseByteArray(string name, Queue<Token> queue)'.
.NET 7.0.x: SharpNBT/SNBT/StringNbt.cs#L140
Possible null reference argument for parameter 'name' in 'IntArrayTag StringNbt.ParseIntArray(string name, Queue<Token> queue)'.
.NET 7.0.x: SharpNBT/SNBT/StringNbt.cs#L141
Possible null reference argument for parameter 'name' in 'LongArrayTag StringNbt.ParseLongArray(string name, Queue<Token> queue)'.