Skip to content

Commit

Permalink
Move format to last
Browse files Browse the repository at this point in the history
Rather than stopping an otherwise good build on its track, help detect issues (in bulid/test) earlier, and leave the format for last. Format shouldn't be important even for publishing a dogfooding version to the CI package feed for build validation.
  • Loading branch information
kzu committed Feb 11, 2023
1 parent baa0696 commit d6d9d89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ jobs:
submodules: recursive
fetch-depth: 0

- name: ✓ ensure format
run: dotnet format --verify-no-changes -v:diag --exclude ~/.nuget

- name: ⚙ msbuild
uses: microsoft/setup-msbuild@v1.1

Expand Down Expand Up @@ -73,3 +70,6 @@ jobs:
run: |
dotnet tool install -g --version 4.0.18 sleet
sleet push bin --config none -f --verbose -p "SLEET_FEED_CONTAINER=nuget" -p "SLEET_FEED_CONNECTIONSTRING=${{ secrets.SLEET_CONNECTION }}" -p "SLEET_FEED_TYPE=azure" || echo "No packages found"
- name: ✓ ensure format
run: dotnet format --verify-no-changes -v:diag --exclude ~/.nuget

0 comments on commit d6d9d89

Please sign in to comment.