Upgrade to .NET 10 and migrate CI to GitHub Actions (closes #30, #31, #32)#38
Merged
Merged
Conversation
…in-to-latest-dotnet
- Bump TargetFramework from netcoreapp3.1 to net10.0 - Update Microsoft.NET.Test.Sdk 16.6.1 → 18.5.1 - Update xunit 2.4.1 → 2.9.3 - Update xunit.runner.visualstudio 2.4.1 → 3.1.5 - Update coverlet.msbuild 2.8.1 → 10.0.0 - Update coverlet.collector 1.2.1 → 10.0.0 - Remove deprecated DotNetCliToolReference for dotnet-reportgenerator-cli - Convert all async void test methods to async Task (xUnit1048) - All 21 tests pass Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add .github/workflows/ci.yml with matrix build on ubuntu, windows, macos - Replicate all pipeline stages: restore, build, test, coverage, NuGet publish - NuGet publish job runs only on push to main using NUGET_API_KEY secret - Remove azure-pipelines.yml - Replace Azure DevOps build badge with GitHub Actions badge in README Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
dotnet restore/build was failing because the .sln is in src/, not the repo root. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
coverlet.msbuild resolves CoverletOutput relative to the project file, not the workspace root. Use github.workspace to anchor all paths. 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
HttpClientServiceHelper.csproj) tonet10.0and bumpsNewtonsoft.Jsonto 13.0.3 (closes Upgrade HttpClientServiceHelper to latest .NET version #30)HttpClientServiceHelper.Tests.csproj) fromnetcoreapp3.1tonet10.0with all dependencies updated to latest (closes Upgrade HttpClientServiceHelper.Tests to latest .NET version #31)async voidtest methods toasync Taskto resolve xUnit1048 warningsazure-pipelines.ymlAPI.md,UPGRADE.md)Package upgrades (test project)
Microsoft.NET.Test.Sdkxunitxunit.runner.visualstudiocoverlet.msbuildcoverlet.collectorGitHub Actions workflow (
.github/workflows/ci.yml)mainubuntu-latest,windows-latest,macos-latestpublishjob runs only on push tomain, pushes to NuGet viaNUGET_API_KEYsecretTest plan
dotnet restore— succeeds with no errorsdotnet build— succeeds with 0 warnings, 0 errorsdotnet test— 21/21 tests passazure-pipelines.ymlremoved🤖 Generated with Claude Code