Skip to content

Commit 4db371b

Browse files
committed
update github workflow settings
Related to: aliencube#221
1 parent 4a5ced1 commit 4db371b

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.github/workflows/azure-dev-build-only.yml

+11
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,23 @@ jobs:
4646
shell: bash
4747
run: |
4848
dotnet restore
49+
50+
- name: Install SwashBuckle Cli
51+
shell: bash
52+
run: |
53+
dotnet new tool-manifest
54+
dotnet tool install SwashBuckle.AspNetCore.Cli
4955
5056
- name: Build solution
5157
shell: bash
5258
run: |
5359
dotnet build
5460
61+
- name: OpenAPI linting
62+
shell: bash
63+
run: |
64+
spectral lint openapi.json
65+
5566
- name: Test solution
5667
shell: bash
5768
run: |

.github/workflows/azure-dev.yml

+11
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,22 @@ jobs:
6262
run: |
6363
dotnet restore
6464
65+
- name: Install SwashBuckle Cli
66+
shell: bash
67+
run: |
68+
dotnet new tool-manifest
69+
dotnet tool install SwashBuckle.AspNetCore.Cli
70+
6571
- name: Build solution
6672
shell: bash
6773
run: |
6874
dotnet build
6975
76+
- name: OpenAPI linting
77+
shell: bash
78+
run: |
79+
spectral lint openapi.json
80+
7081
- name: Test solution
7182
shell: bash
7283
run: |

0 commit comments

Comments
 (0)