Add net10/net11 preview CI and simplify guards - #59
Merged
Conversation
Updates CI to run net10.0 across all OSes and adds net11.0 preview jobs with separate setup/build/test steps gated by `sdk-preview` and `SIXLABORS_TESTING_PREVIEW`. Raises C# language version to 14.0 and updates test project target frameworks to `net10.0` by default, with `net11.0` included only in preview runs. Also modernizes guard APIs by switching `CallerArgumentExpression` to `nameof(value)` and removing redundant `Span<T>` overloads in favor of `ReadOnlySpan<T>`-based checks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Prerequisites
Description
Updates CI to run net10.0 across all OSes and adds net11.0 preview jobs with separate setup/build/test steps gated by
sdk-previewandSIXLABORS_TESTING_PREVIEW. Raises C# language version to 14.0 and updates test project target frameworks tonet10.0by default, withnet11.0included only in preview runs. Also modernizes guard APIs by switchingCallerArgumentExpressiontonameof(value)and removing redundantSpan<T>overloads in favor ofReadOnlySpan<T>-based checks.