Skip to content

Magic Fixes

Magic Fixes #878

Triggered via pull request December 15, 2023 23:30
Status Failure
Total duration 1m 47s
Artifacts

yaml-linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
YAML Linter: Content.Shared/Actions/SharedActionsSystem.cs#L533
Invalid token 'if' in class, record, struct, or interface member declaration
YAML Linter: Content.Shared/Actions/SharedActionsSystem.cs#L533
Tuple must contain at least two elements.
YAML Linter: Content.Shared/Actions/SharedActionsSystem.cs#L533
Invalid token '>' in class, record, struct, or interface member declaration
YAML Linter: Content.Shared/Actions/SharedActionsSystem.cs#L535
Invalid token '=' in class, record, struct, or interface member declaration
YAML Linter: Content.Shared/Actions/SharedActionsSystem.cs#L536
Invalid token '--' in class, record, struct, or interface member declaration
YAML Linter: Content.Shared/Actions/SharedActionsSystem.cs#L539
A namespace cannot directly contain members such as fields, methods or statements
YAML Linter: Content.Shared/Actions/SharedActionsSystem.cs#L539
Type or namespace definition, or end-of-file expected
YAML Linter: Content.Shared/Actions/SharedActionsSystem.cs#L540
Tuple must contain at least two elements.
YAML Linter
The following actions uses node12 which is deprecated and will be forced to run on node16: space-wizards/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
YAML Linter: RobustToolbox/OpenToolkit.GraphicsLibraryFramework/GLFWException.cs#L74
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
YAML Linter: RobustToolbox/Lidgren.Network/Lidgren.Network/Lidgren.Network/Sockets/NetFastSocket.cs#L86
Argument 1 should be passed with the 'in' keyword
YAML Linter
Found version-specific or distribution-specific runtime identifier(s): alpine-arm, alpine-arm64, alpine-x64. Affected libraries: SQLitePCLRaw.lib.e_sqlite3. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details.
YAML Linter: RobustToolbox/Robust.Shared/Prototypes/EntityPrototype.cs#L23
'ISerializationHooks' is obsolete: 'Avoid using ISerializationHooks in favour of (Custom)TypeSerializers or ComponentInit-Events.'
YAML Linter: RobustToolbox/Robust.Shared/Exceptions/TypeArgumentException.cs#L43
Member 'TypeArgumentException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'TypeArgumentException.GetObjectData(SerializationInfo, StreamingContext)'.
YAML Linter: RobustToolbox/Robust.Shared/Utility/MarkupNode.cs#L10
'MarkupNode' overrides Object.Equals(object o) but does not override Object.GetHashCode()
YAML Linter: RobustToolbox/Robust.Shared/IoC/Exceptions/ImplementationConstructorException.cs#L29
Member 'ImplementationConstructorException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'ImplementationConstructorException.GetObjectData(SerializationInfo, StreamingContext)'.
YAML Linter: RobustToolbox/Robust.Shared/IoC/Exceptions/UnregisteredDependencyException.cs#L47
Member 'UnregisteredDependencyException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'UnregisteredDependencyException.GetObjectData(SerializationInfo, StreamingContext)'.