From cdffa4bcee634d870292aafd2132071d6895018a Mon Sep 17 00:00:00 2001 From: Sam Biram Date: Fri, 16 Feb 2024 08:36:16 +0000 Subject: [PATCH] Run action on ubuntu-latest rather than windows-latest --- .github/workflows/dotnet-format.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dotnet-format.yml b/.github/workflows/dotnet-format.yml index 977eee80df0..f0e5c8a8e2f 100644 --- a/.github/workflows/dotnet-format.yml +++ b/.github/workflows/dotnet-format.yml @@ -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 @@ -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 @@ -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 ;) \ No newline at end of file + # TODO: Wrap these three subcommands up into a single `dotnet format` command once all 3 above TODOs are TO-DONE ;)