v2.1.0: modernize, fix BufferedRadnomProvider typo, upgrade test stack, add CI/CD#2
Merged
Conversation
…k, add CI/CD - Phase 4: add BufferedRandomProvider (fixed spelling); keep BufferedRadnomProvider as [Obsolete] shim for backwards compatibility; rename file and test class to match - Phase 3: remove stale Resources.resx/Designer.cs refs from csproj; add SourceLink 8.0.0, LangVersion latest, Nullable enable, GenerateDocumentationFile, PackageReadmeFile; remove GeneratePackageOnBuild/PackageLicenseUrl/PackageReleaseNotes; update copyright 2018→2026; bump v2.0.0→2.1.0 - Test: netcoreapp2.0→net8.0; NSubstitute 3.1.0→5.3.0; xunit 2.3.1→2.9.2; TestSdk 15.5.0→17.12.0; add coverlet; fix nullable warnings; fix unused theory param - Phase 6: add ci.yml, publish.yml (OIDC Trusted Publishing), sonar.yml (with coverage) - README: full rewrite with CI/Sonar/NuGet/license/BMC badges, API table, usage examples - .gitattributes: *.yml text eol=lf Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Avoids the SonarCloud 'Avoid expanding secrets in a run block' hotspot. The secret is already mapped to the env var on each step. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Previously the sed replacement incorrectly changed the env mapping line
(SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}) to a bare var reference, or
the env block was missing entirely. The scanner received an empty/literal
token and authentication failed.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
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.



Summary
BufferedRadnomProviderhad a persistent typo ("Radom") in both the filename and class name. AddedBufferedRandomProvider(correct spelling) as the canonical class; keptBufferedRadnomProvideras an[Obsolete]subclass shim pointing to the new name. File and test class renamed to match.Resources.resx/Resources.Designer.csreferences; added SourceLink 8.0.0,LangVersion latest,Nullable enable,GenerateDocumentationFile,PackageReadmeFile; removed deprecatedPackageLicenseUrl/GeneratePackageOnBuild/stalePackageReleaseNotes; updated copyright; bumped to v2.1.0.netcoreapp2.0→net8.0; NSubstitute 3.1.0 → 5.3.0; xunit 2.3.1 → 2.9.2; TestSdk 15.5.0 → 17.12.0; addedcoverlet.collector; fixed nullable warnings; fixed unused theory parameter.ci.yml(build + test on every push/PR),publish.yml(tag-driven OIDC Trusted Publishing — no long-lived NuGet key),sonar.yml(SonarCloud with coverage via dotnet-coverage).Test plan
dotnet build— 0 errors, 0 warningsdotnet test— 109/109 passedNUGET_USERrepo variable; create NuGet Trusted Publishing policy; disable SonarCloud Automatic Analysis; addSONAR_TOKENsecret🤖 Generated with Claude Code