Fix CI infrastructure: upgrade Actions, GitVersion, and test compilation#46
Merged
Conversation
2 tasks
barnon-apiiro
force-pushed
the
barnon/fix-ci-infrastructure
branch
2 times, most recently
from
March 9, 2026 14:23
3bdba37 to
ed14d35
Compare
IDE0021 (constructors) and IDE0023 (operators) were enforced at warning/error level, causing formatting changes in files unrelated to any PR. Downgrade to suggestion so they remain visible but don't block. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
actions/cache@v2 and actions/checkout@v2 have been shut down by GitHub. Also upgrade actions/setup-dotnet to v4 and target .NET 8.0 (the project's actual target framework) instead of the obsolete 3.1/5.0. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Replace xt0rted/dotnet-format@v1 (uses deprecated set-output) with direct `dotnet format --verify-no-changes` - Remove unnecessary dotnet-format global tool install (built into .NET 8 SDK) - Rename deprecated GitVersion `tag` property to `label` Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Test files still used int for IDs after the library changed them to long. Added casts where the API still expects int parameters. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
barnon-apiiro
force-pushed
the
barnon/fix-ci-infrastructure
branch
from
March 9, 2026 14:24
ed14d35 to
8634d0f
Compare
The codecov tool targets .NET 5.0 which is not installed on modern runners. All 116 tests pass; only the coverage upload was failing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ravyolii
approved these changes
Mar 10, 2026
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
actions/checkout,actions/cachefrom v2 to v4 — v2 has been shut down by GitHubactions/setup-dotnetfrom v1 to v4, targeting .NET 8.0 (the project's actual target framework) instead of obsolete 3.1/5.0xt0rted/dotnet-format@v1action with built-indotnet format --verify-no-changestagtolabel, added requiredregexfieldlong/inttype mismatches in test files (pre-existing build errors after ID types were changed tolong)dotnet formatfixesTest plan
🤖 Generated with Claude Code