Skip to content

Use source generation for Project (de)serialization #401

Use source generation for Project (de)serialization

Use source generation for Project (de)serialization #401

Triggered via push April 8, 2026 01:46
Status Success
Total duration 1m 0s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2, actions/setup-dotnet@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build: YarnSpinner/YarnSpinner.Markup/LineParser.cs#L1004
Use 'string.StartsWith(char)' instead of 'string.StartsWith(string)' when you have a string with a single char (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1865)
build: YarnSpinner/CRC32.cs#L95
'string.Replace(string, string)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Yarn.Utility.CRC32.GetChecksumString(string)' with a call to 'string.Replace(string, string, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
build: YarnSpinner/NumberPlurals.cs#L1941
'string.IndexOf(char)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'CLDRPlurals.NumberHelpers.VisibleFractionalDigits(double, bool)' with a call to 'string.IndexOf(char, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
build: YarnSpinner/NumberPlurals.cs#L1930
'string.IndexOf(char)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'CLDRPlurals.NumberHelpers.FractionalValue(double)' with a call to 'string.IndexOf(char, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
build: YarnSpinner/YarnSpinner.Markup/LineParser.cs#L829
'string.Replace(string, string)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Yarn.Markup.LineParser.WalkTree(Yarn.Markup.LineParser.MarkupTreeNode, System.Text.StringBuilder, System.Collections.Generic.List<Yarn.Markup.MarkupAttribute>, string, System.Collections.Generic.List<Yarn.Markup.LineParser.MarkupDiagnostic>, int)' with a call to 'string.Replace(string, string, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
build: YarnSpinner/YarnSpinner.Markup/LineParser.cs#L828
'string.Replace(string, string)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Yarn.Markup.LineParser.WalkTree(Yarn.Markup.LineParser.MarkupTreeNode, System.Text.StringBuilder, System.Collections.Generic.List<Yarn.Markup.MarkupAttribute>, string, System.Collections.Generic.List<Yarn.Markup.LineParser.MarkupDiagnostic>, int)' with a call to 'string.Replace(string, string, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
build: YarnSpinner/YarnSpinner.Markup/IAttributeMarkerProcessor.cs#L106
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
build: YarnSpinner/YarnSpinner.Markup/IAttributeMarkerProcessor.cs#L78
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
build: YarnSpinner/YarnSpinner.Markup/IAttributeMarkerProcessor.cs#L73
ReplacementMarkerResult should override the equality (==) and inequality (!=) operators (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1815)
build: YarnSpinner/YarnSpinner.Markup/IAttributeMarkerProcessor.cs#L73
ReplacementMarkerResult should override Equals (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1815)