Skip to content

ci: move from AppVeyor to GitHub Actions - #80

Merged
Poltuu merged 1 commit into
masterfrom
ci/github-actions
Oct 19, 2026
Merged

Poltuu merged 1 commit into
masterfrom
ci/github-actions

Conversation

@Poltuu

@Poltuu Poltuu commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

AppVeyor and Codecov no longer report on this repo, so every PR (e.g. #79) waits forever on the continuous-integration/appveyor/pr, codecov/patch and codecov/project statuses required by master's branch protection.

This moves CI to GitHub Actions (.github/workflows/ci.yml): build, test and pack on every PR and push, publish to nuget.org on a GitHub release (version = release tag). It runs on GitHub-hosted runners, not the Lucca self-hosted ones, because the repo is public. appveyor.yml, build.ps1 and the dead badges go.

To build on the .NET 10 SDK:

  • tests target net10.0;net481 instead of netcoreapp3.1;net461
  • Newtonsoft.Json 11.0.2 -> 13.0.4: 11.0.2 has GHSA-5crp-9r3c-p9vr and TreatWarningsAsErrors turns that into a restore error
  • two tests call GenericExtensions.ToDictionary and Enumerable.Contains explicitly: .NET 8 added its own ToDictionary() for key/value pairs, and C# 14 binds array.Contains to the span overload

226/226 tests pass on both targets locally.

After merge, an admin has to:

  • replace the 3 required statuses in branch protection with build
  • for publishing: add a nuget.org trusted publishing policy for NExtends (repo LuccaSA/NExtends, workflow ci.yml) and a NUGET_USER repo secret, as on MerQure

🤖 Generated with Claude Code

AppVeyor and Codecov no longer report, so every PR waits forever on
their required statuses. Build, test and pack on GitHub Actions instead,
and publish to nuget.org through trusted publishing on a GitHub release.

To build on the .NET 10 SDK: tests target net10.0 and net481, the
vulnerable Newtonsoft.Json 11.0.2 (GHSA-5crp-9r3c-p9vr) goes to 13.0.4,
and two tests call ToDictionary/Contains explicitly, which .NET 8 and
C# 14 made ambiguous.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Poltuu
Poltuu marked this pull request as ready for review October 19, 2026 08:42
@Poltuu
Poltuu merged commit 40a1ba9 into master Oct 19, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants