Skip to content

Commit 7db501b

Browse files
authored
Move format check for last
1 parent a7ee681 commit 7db501b

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

.github/workflows/build.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,8 @@ defaults:
2323
shell: bash
2424

2525
jobs:
26-
dotnet-format:
27-
runs-on: ubuntu-latest
28-
steps:
29-
- name: 🤘 checkout
30-
uses: actions/checkout@v2
31-
with:
32-
submodules: recursive
33-
fetch-depth: 0
34-
35-
- name: ⚙ dotnet
36-
uses: actions/setup-dotnet@v1
37-
with:
38-
dotnet-version: '6.0.x'
39-
40-
- name: ✓ ensure format
41-
run: dotnet format --verify-no-changes -v:diag --exclude ~/.nuget
42-
4326
build:
4427
name: build-${{ matrix.os }}
45-
needs: dotnet-format
4628
runs-on: ${{ matrix.os }}
4729
strategy:
4830
matrix:
@@ -83,3 +65,21 @@ jobs:
8365
run: |
8466
dotnet tool install -g --version 4.0.18 sleet
8567
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"
68+
69+
dotnet-format:
70+
runs-on: ubuntu-latest
71+
needs: build
72+
steps:
73+
- name: 🤘 checkout
74+
uses: actions/checkout@v2
75+
with:
76+
submodules: recursive
77+
fetch-depth: 0
78+
79+
- name: ⚙ dotnet
80+
uses: actions/setup-dotnet@v1
81+
with:
82+
dotnet-version: '6.0.x'
83+
84+
- name: ✓ ensure format
85+
run: dotnet format --verify-no-changes -v:diag --exclude ~/.nuget

0 commit comments

Comments
 (0)