Skip to content

OneBranch now uses PowerShell 7.4 so remove workarounds #2218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 26, 2025

Conversation

andyleejordan
Copy link
Member

We can rely on the pre-installed PSResourceGet and we can re-enable tests!

@JustinGrote seriously we can finally run tests again in the release pipeline 🤞

We can rely on the pre-installed PSResourceGet and we can re-enable tests!
@Copilot Copilot AI review requested due to automatic review settings February 26, 2025 19:07
@andyleejordan andyleejordan requested a review from a team as a code owner February 26, 2025 19:07
@andyleejordan andyleejordan enabled auto-merge (squash) February 26, 2025 19:07
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

.pipelines/PowerShellEditorServices-Official.yml:91

  • Verify that the installPSResources.ps1 script now encapsulates all needed actions (registration of the PS repository and installation of PSResourceGet), since the explicit commands have been removed.
-          - pwsh: ./tools/installPSResources.ps1 -PSRepository CFS

.pipelines/PowerShellEditorServices-Official.yml:93

  • [nitpick] Consider updating the displayName accompanying this step so that it accurately reflects the action being performed, given the change from 'Build' to 'TestFull'.
 +          - pwsh: Invoke-Build TestFull -Configuration $(BuildConfiguration) -PSRepository CFS

@andyleejordan andyleejordan added the Ignore Exclude from the changelog. label Feb 26, 2025
Copy link
Collaborator

@SeeminglyScience SeeminglyScience left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@andyleejordan andyleejordan merged commit 1ee7adb into main Feb 26, 2025
8 checks passed
@andyleejordan andyleejordan deleted the onebranch branch February 26, 2025 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ignore Exclude from the changelog.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants