We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef567f0 commit ad1077aCopy full SHA for ad1077a
1 file changed
.github/workflows/build.yaml
@@ -3,6 +3,25 @@ name: ci-build
3
on: [pull_request]
4
5
jobs:
6
+ verify_formatting:
7
+ runs-on: ubuntu-latest
8
+ name: Verify code formatting
9
+
10
+ steps:
11
+ - name: checkout-code
12
+ uses: actions/checkout@v3
13
+ with:
14
+ fetch-depth: 0
15
16
+ - name: setup-dotnet
17
+ uses: actions/setup-dotnet@v3
18
19
+ - name: tool restore
20
+ run: dotnet tool restore
21
22
+ - name: validate formatting
23
+ run: dotnet fantomas . --check
24
25
build:
26
name: Build
27
runs-on: windows-latest
@@ -12,9 +31,11 @@ jobs:
31
uses: actions/checkout@v3
32
with:
33
fetch-depth: 0
34
35
# setup dotnet based on global.json
36
- name: setup-dotnet
37
uses: actions/setup-dotnet@v3
38
39
# build it, test it, pack it
40
- name: Run dotnet build (release)
41
# see issue #105
0 commit comments