Skip to content

Add GitHub Actions CI for pull request builds - #1122

Open
lahma wants to merge 2 commits into
aaubry:masterfrom
lahma:ci/github-actions
Open

Add GitHub Actions CI for pull request builds#1122
lahma wants to merge 2 commits into
aaubry:masterfrom
lahma:ci/github-actions

Conversation

@lahma

@lahma lahma commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Adds a GitHub Actions workflow that builds and runs the unit + spec tests on every pull request (and on pushes to master), so PRs get a native GitHub status check alongside the existing AppVeyor build.

  • Runs on windows-latest — the library and test suite also target net47, which needs Windows.
  • Restores + builds the solution in Release, then runs YamlDotNet.Test across its target frameworks; uploads the test results.
  • Checks out submodules (the spec tests need yaml-test-suite), installs the .NET 8 + 10 SDKs, and cancels superseded runs per branch/PR.

Also updates the actions in the existing workflows to their latest major versions (actions/checkout → v7, actions/setup-dotnet → v6, actions/upload-artifact → v7; github/codeql-action stays on the current v3).

This does not remove AppVeyor; it adds a native GitHub PR check.

@lahma
lahma force-pushed the ci/github-actions branch from b2c55f1 to eb08181 Compare July 23, 2026 19:26
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