chore(build): Add testing on net48 runtime #44
Merged
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.
TL;DR: CI run on Windows testing net48 runtime with netstandard2.0 targetted libraries.
This pull request includes several changes to the CI/CD workflows and the test project configuration to improve compatibility and streamline the build and release processes. The most important changes are grouped by theme below:
CI/CD Workflow Improvements:
.github/workflows/dotnet-ci-build.yml
: Updated theruns-on
parameter to use a matrix strategy, allowing the build to run on bothubuntu-latest
andwindows-latest
environments..github/workflows/nuget-publish.yml
: Added a newtest
job that runs onwindows-latest
and includes steps for checkout, setting up .NET Core 8, installing tools, and running tests. Thebuild
job now depends on thetest
job.Test Project Configuration:
Dirt.Args.Tests/Dirt.Args.Tests.csproj
: Modified the project file to conditionally target different frameworks based on the operating system. For Windows, it targets bothnet8.0
andnet48
, while for other operating systems, it targetsnet8.0
only.These changes enhance the flexibility and robustness of the CI/CD process by ensuring compatibility with multiple operating systems and improving the test project's configuration.
chore(build): Add testing on net48 runtime
Resolves: #39
chore: reformat github workflow files