Skip to content
Closed
Changes from all commits
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
15 changes: 6 additions & 9 deletions .github/workflows/dotnet-format-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ permissions:

jobs:
dotnet-format:
runs-on: windows-latest
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
branch: [ main, net10.0, inflight/current ]
steps:
Expand Down Expand Up @@ -47,16 +48,12 @@ jobs:
dotnet --info
dotnet workload --info

- name: Reset tracked files to clean workspace
shell: bash
run: |
git reset --hard HEAD
# - name: Restore solution
# run: dotnet restore Microsoft.Maui.sln

- name: Run dotnet format
run: |
dotnet restore Microsoft.Maui.sln
dotnet format Microsoft.Maui.sln --exclude Templates/src --exclude-diagnostics CA1822

run: dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src --exclude-diagnostics CA1822

- name: Create Pull Request
uses: dotnet/actions-create-pull-request@v4
with:
Expand Down
Loading