Enhances GitHub Actions workflows by adding a benchmarking workflow for .NET 8 and 9, updating existing workflows, and including a new benchmark project. #78
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes to the GitHub Actions workflows, the solution file, and the addition of benchmarking for the
LuhnDotNet
project. The most important changes include the addition of a new benchmarking workflow, updates to existing workflows, and the inclusion of a new benchmark project in the solution.GitHub Actions Workflows:
LuhnDotNet
, which includes setting up .NET 8 and .NET 9, running the benchmark project, and storing the benchmark results. This workflow is namedLuhnDotNet - Benchmark.Net
(.github/workflows/benchmarkdotnet.yml
).docfx-build-and-publish.yml
workflow to trigger on the completion of theLuhnDotNet - Benchmark.Net
workflow, set up .NET 9, update and rundocfx
, and copy benchmark results to the_site
directory for publishing (.github/workflows/docfx-build-and-publish.yml
). [1] [2] [3]LuhnDotNet (All supported TFM)
toLuhnDotNet - Build and Test All .NET Versions
(.github/workflows/dotnetall.yml
).LuhnDotNet NuGet
toLuhnDotNet - NuGet Publishing
(.github/workflows/publishing.yml
).CodeQL
toLuhnDotNet - CodeQL
(.github/workflows/codeql-analysis.yml
).Solution File:
LuhnDotNetBenchmark
project to the solution fileLuhnDotNet.sln
to include the new benchmark project (LuhnDotNet.sln
). [1] [2]Benchmark Project:
LuhnDotNetBenchmark
with benchmarks for computing and validating Luhn numbers using both string and span inputs (benchmark/LuhnDotNetBenchmark.cs
,benchmark/LuhnDotNetBenchmark.csproj
,benchmark/Program.cs
). [1] [2] [3]Documentation:
toc.yml
).