Move CI to GitHub Actions, same shape as main - #2988
Merged
Conversation
Ports the workflow from main so this branch gets the same Build, test matrix, Done structure, and the same "Done" check name, so one branch policy can cover main and the release branches. Removes azure-pipelines.yml, releasing stays on Azure DevOps in azure-pipelines-publish.yml. No coverage steps here, v5 keeps code coverage off in CI, so there is nothing to summarize or upload. Test results are written as NUnit3 now, that is what dorny/test-reporter reads in test-report.yml on main. workflow_run runs from the default branch, so runs of this workflow get reports without a copy of that file here. Code analysis triggers on rel/* on this branch, it was still set to main and never ran here. 🤖
The run failed before it started, psmodulecache v6.2 pulls actions/cache v4.0.1 which GitHub now rejects. Same versions as main: checkout v6, psmodulecache v6.2.1, codeql-action v4. 🤖
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.
Same move as #2905, for the v5 maintenance branch.
azure-pipelines.ymlis removed and the workflow from main is ported over, so this branch has the same Build, test matrix,Donestructure, and the sameDonecheck name. That is what makes one branch policy work for main and the release branches.Releasing stays on Azure DevOps (
azure-pipelines-publish.yml), it needs the signing service connection and the publishing variable groups.Differences from the file on main, both because of how v5 works:
test.ps1), which is what dorny/test-reporter reads.test-report.ymlis not copied here on purpose.workflow_runworkflows always run from the default branch, so the copy on main renders the reports for runs of this workflow too.Code analysis on this branch still triggered on
mainonly, soPSScriptAnalyzernever ran here. It triggers onrel/*now, which matters because branch protection requires it.🤖