Skip to content

chore: modernize 4 packages to net8.0, EF Core 8, SourceLink, CI/CD/Sonar#6

Merged
PFalkowski merged 6 commits into
masterfrom
refresh/modernize
Jun 16, 2026
Merged

chore: modernize 4 packages to net8.0, EF Core 8, SourceLink, CI/CD/Sonar#6
PFalkowski merged 6 commits into
masterfrom
refresh/modernize

Conversation

@PFalkowski

Copy link
Copy Markdown
Owner

Summary

  • All 4 packages (Model, Infrastructure, Ef, Ado) + Common: netstandard2.1 -> net8.0
  • EF Core 5.0.3 -> 8.0.0 (Common + Ef test packages)
  • LoggerLite 3.1.0 -> 5.0.0 in Ado (ILogger interface unchanged since 3.x)
  • Extensions.Standard 4.0.0/6.0.0 -> 12.0.0 in Model/Infrastructure/UnitTests.Infrastructure
  • Remove System.ComponentModel.Annotations (built into net8.0)
  • Simplify conditional Pack configuration (dotnet pack handles project->package ref automatically)
  • SourceLink 8.0.0, GenerateDocumentationFile, PackageReadmeFile; version bumps
  • Update test packages: xunit 2.9.3, runner 3.0.1, TestSdk 17.12.0, add coverlet; remove obsolete DotNetCliToolReference
  • Remove stale using in StockContextTest.cs
  • Add ci.yml, publish.yml (NuGet Trusted Publishing), sonar.yml workflows
  • Update README with badges for all 4 packages

Test plan

  • dotnet build all 4 packages -- 0 warnings, 0 errors
  • dotnet test UnitTests.Model -- 19/19 passed
  • dotnet test UnitTests.Infrastructure -- 4/4 passed
  • dotnet test UnitTests.Ef -- 49/49 passed (EF Core InMemory)

Generated with Claude Code

PFalkowski and others added 6 commits June 15, 2026 10:48
…onar

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>
Source-project-only build left test DLLs absent; VSTest failed with
"argument is invalid". Build test projects transitively instead.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@PFalkowski PFalkowski merged commit b3aff72 into master Jun 16, 2026
3 checks passed
@PFalkowski PFalkowski deleted the refresh/modernize branch June 16, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant