Update NuGet deps to latest stable; switch release to trusted publishing#14
Merged
Merged
Conversation
Package updates (latest non-prerelease): - Microsoft.Extensions.DependencyInjection.Abstractions 10.0.8 -> 10.0.9 - Microsoft.Extensions.Http 10.0.8 -> 10.0.9 - Spectre.Console 0.55.2 -> 0.56.0 - Spectre.Console.Testing 0.55.2 -> 0.56.0 Left unchanged (already at latest stable; newer releases are prerelease only): Spectre.Console.Cli 0.55.0, Microsoft.SourceLink.GitHub 10.0.300, Microsoft.NET.Test.Sdk 18.6.0, xunit 2.9.3, xunit.runner.visualstudio 3.1.5, coverlet.collector 10.0.1. Release workflow now uses NuGet Trusted Publishing: the publish job requests a short-lived API key via NuGet/login@v1 (OIDC) instead of a long-lived NUGET_API_KEY secret. Adds id-token: write permission. Co-Authored-By: Claude Opus 4.8 (1M context) <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
Two changes requested for this session:
1. NuGet package updates (latest non-prerelease)
Already at latest stable (newer versions are prerelease-only, so left as-is):
Spectre.Console.Cli0.55.0,Microsoft.SourceLink.GitHub10.0.300,Microsoft.NET.Test.Sdk18.6.0,xunit2.9.3,xunit.runner.visualstudio3.1.5,coverlet.collector10.0.1.Build is clean (0 warnings,
TreatWarningsAsErrorson) and all 196 tests pass locally.2. NuGet Trusted Publishing
The release workflow no longer uses a long-lived
NUGET_API_KEYsecret. The publish job now addsid-token: writeand usesNuGet/login@v1to exchange the GitHub OIDC token for a short-lived (1 hour) API key just beforedotnet nuget push.Required before this can publish⚠️
StuartMeeksNextIteration.SpectreConsole.SelfUpdaterelease.yml(filename only)NUGET_USERrepo secret = your nuget.org profile name (not your email).NUGET_API_KEYsecret can be deleted.🤖 Generated with Claude Code