Repository navigation
feat: Begin transition from DevOps to GHA - #27
Open
BenjaminMichaelis wants to merge 9 commits into
Open
BenjaminMichaelis wants to merge 9 commits into
BenjaminMichaelis wants to merge 9 commits into
Conversation
…o-gha-plan Migrate from Azure Pipelines to GitHub Actions
Consolidate CI build jobs with matrix strategy
…ching-simplification Simplify npm caching in build-and-test action
…investigate-failures fix: resolve form input race and clean up GHA Arcade references
…gha-pipeline-alignment ci: align GHA pipeline parity with legacy behavior
…remove-non-ci-changes chore: revert non-CI changes from main branch
Sync fork with Polyglossy/interactive main
…ce drift (dotnet#8) * Make named-request header test independent of live httpbin.org httpbin.org no longer returns a Server response header, so the test failed deterministically. Use InterceptingHttpMessageHandler to supply the Server header and assert it is forwarded in the later request. * fix(tests): clear inherited MSBuild SDK vars so prebuild tests work on runners with newer SDKs ubuntu-latest now ships the .NET 11 SDK. The prebuild tests run 'dotnet new' and 'dotnet build' outside the repo, which selects SDK 11 and generates net11.0 projects, while 'dotnet test' exports MSBuildSDKsPath/MSBuildExtensionsPath for the repo-pinned 10.0 SDK to the test host. The mismatch fails with NETSDK1045. Clear the inherited variables in the test assembly so child processes resolve their own SDK. * fix(tests): pin prebuild SDK with global.json instead of clearing MSBuild env vars Prebuild tests ran `dotnet new`/`dotnet build` under ~/.trydotnet/prebuilds, where no global.json applies, so the newest installed SDK was chosen while the test host ran on the SDK pinned by the repo. Route prebuilds to a test-owned directory (via the existing TRYDOTNET_PREBUILDS_PATH override) that carries the repo's SDK pin, so children resolve the same SDK as the host. This replaces the earlier approach of clearing MSBuildSDKsPath and MSBuildExtensionsPath. * fix(tests): make prebuild SDK pin setup robust to concurrent test processes Key the prebuilds directory by a hash of the pin, write global.json atomically, and fall back to the default prebuilds location on IO errors so a module initializer can never fail the test host. * ci: run npm tests, upload build logs, strip symbols packages (legacy pipeline parity) (dotnet#9) * ci: run npm ciTest suites and upload build binlogs for legacy parity - Run 'npm run ciTest' for polyglot-notebooks, -browser, -vscode and -vscode-insiders after the .NET tests (if !cancelled()) on both runners. - Upload artifacts/log/Release as <OS>-build-logs (14 day retention). - Remove *.symbols.nupkg before the Windows packages upload. * ci: shorten parity comments and link the files they reference * ci: link legacy pipeline references to a pinned commit
* Upgrade Roslyn to 5.12.0 for C# 15 support Roslyn 5.12.0 is the first stable release exposing LanguageVersion.CSharp15. It requires System.* 10.0.10 packages, so the central pins for Microsoft.Bcl.AsyncInterfaces, System.Collections.Immutable, System.IO.Pipelines, System.Reflection.Metadata and System.Text.Json are raised to match (NU1109 otherwise). The C# kernel now reports language version 15.0, and tests cover C# 15 syntax that has no runtime dependency beyond net10.0. * Align Microsoft.Extensions.Logging.Abstractions pin with Roslyn 5.12.0 requirement * Derive kernel language version from Roslyn and tighten C# 15 diagnostics test
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.
WIP - some high level attempts at getting the GHA pipelines started
This pull request introduces a comprehensive overhaul of the project's CI/CD automation and dependency management. It adds new GitHub Actions workflows for continuous integration and publishing, establishes a composite action for standardized build and test steps across platforms, and sets up automated dependency updates for GitHub Actions, npm, and NuGet packages. These changes modernize and streamline the project's automation, making builds, tests, and releases more reliable and maintainable.
CI/CD Workflow Automation:
.github/workflows/ci.ymlworkflow to handle continuous integration on both Windows and Linux, including branch and path filters, artifact uploads, and improved concurrency handling..github/workflows/publish.ymlworkflow to automate the release process, including building, testing, packaging, and publishing to NuGet, npm, and the VSCode Marketplace, with support for dry-run simulations and proper environment gating.Reusable Build and Test Logic:
.github/actions/build-and-test/action.ymlto encapsulate cross-platform build and test logic, including caching, environment setup, and platform-specific steps for both Windows and Linux.Automated Dependency Management:
.github/dependabot.ymlconfiguration to enable Dependabot for GitHub Actions, npm, and NuGet, ensuring dependencies are kept up to date automatically with grouped updates and appropriate labeling.Miscellaneous:
Directory.Build.targets.Re-opened from a re-created fork; supersedes #11 (closed when the previous fork repo was deleted).