Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "Run format workflow on Windows instead of macOS"
This reverts commit dd10a8a.
  • Loading branch information
jamescrosswell committed Mar 19, 2025
commit 9246a29106c4f18958d385e51e4ef10085d5a884
5 changes: 2 additions & 3 deletions .github/workflows/format-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: Format Code
# Run on 'macos' because Linux is missing the `ios` workload: https://github.com/dotnet/runtime/issues/85505
# Pin macos to get the version of XCode that we need: https://github.com/actions/runner-images/issues/10703
runs-on: windows-latest
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -40,5 +40,4 @@ jobs:
# we need to pass the current branch, otherwise we can't commit the changes.
# GITHUB_HEAD_REF is the name of the head branch. GitHub Actions only sets this for PRs.
- name: Commit Formatted Code
shell: pwsh
run: pwsh ./scripts/commit-formatted-code.ps1 $GITHUB_HEAD_REF
run: ./scripts/commit-formatted-code.sh $GITHUB_HEAD_REF
19 changes: 0 additions & 19 deletions scripts/commit-formatted-code.ps1

This file was deleted.