Skip to content

Code improvements

Code improvements #59

Triggered via pull request July 8, 2024 20:20
Status Success
Total duration 50s
Artifacts

ci.yml

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

Annotations

13 warnings
build (8.0.*)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, NuGet/setup-nuget@v1.0.5, 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/
build (8.0.*)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, NuGet/setup-nuget@v1.0.5, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (8.0.*): src/ByReplace/Printers/PrinterKonsole.cs#L22
This will allocate a delegate instance
build (8.0.*): src/ByReplace/Analyzers/DocumentFix.cs#L45
Value type to reference type conversion causes boxing at call site (here), and unboxing at the callee-site. Consider using generics if applicable
build (8.0.*): src/ByReplace/Analyzers/DocumentFix.cs#L45
Value type to reference type conversion causes boxing at call site (here), and unboxing at the callee-site. Consider using generics if applicable
build (8.0.*): src/ByReplace/Builders/BrConfigurationBuilder.cs#L43
The compiler will emit a class that will hold this as a field to allow capturing of this closure
build (8.0.*): src/ByReplace/Builders/BrConfigurationBuilder.cs#L51
Heap allocation of closure Captures: this
build (8.0.*): src/ByReplace/Analyzers/AnalyzerAndFixer.cs#L43
Value type to reference type conversion causes boxing at call site (here), and unboxing at the callee-site. Consider using generics if applicable
build (8.0.*): src/ByReplace/Analyzers/AnalyzerAndFixer.cs#L49
The compiler will emit a class that will hold this as a field to allow capturing of this closure
build (8.0.*): src/ByReplace/Analyzers/AnalyzerAndFixer.cs#L51
Heap allocation of closure Captures: rule
build (8.0.*): src/ByReplace/Matches/SkipMatch.cs#L24
The compiler will emit a class that will hold this as a field to allow capturing of this closure
build (8.0.*): src/ByReplace/Matches/SkipMatch.cs#L26
Heap allocation of closure Captures: this
build (8.0.*)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/