Skip to content

Commit

Permalink
Run action on ubuntu-latest rather than windows-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
sambiramairelogic committed Feb 16, 2024
1 parent 079aad0 commit cdffa4b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/dotnet-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ name: dotnet format

on:
pull_request:
branches: [ dev, master ]
branches: [dev, master]

jobs:
check-format:
runs-on: windows-latest
runs-on: ubuntu-latest

steps:
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
dotnet-version: |
6.0.x
8.0.x
Expand All @@ -24,7 +24,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

# TODO: Uncomment this step once formatter has been run globally.
# TODO: Uncomment this step once formatter has been run globally.
# This is because whitespace rules cannot be warnings or suggestions; they will always be errors
#- name: Run dotnet format whitespace
# run: dotnet format whitespace src/GovUk.Education.ExploreEducationStatistics.sln --verify-no-changes
Expand All @@ -37,4 +37,4 @@ jobs:
## TODO: Remove "--severity error" once work has been done to resolve build warnings (https://dfedigital.atlassian.net/browse/EES-4594).
run: dotnet format analyzers src/GovUk.Education.ExploreEducationStatistics.sln --verify-no-changes --severity error

# TODO: Wrap these three subcommands up into a single `dotnet format` command once all 3 above TODOs are TO-DONE ;)
# TODO: Wrap these three subcommands up into a single `dotnet format` command once all 3 above TODOs are TO-DONE ;)

0 comments on commit cdffa4b

Please sign in to comment.