Skip to content

Commit 1c0373e

Browse files
ci: add asyncapi validation job
1 parent 589da31 commit 1c0373e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,10 @@ jobs:
147147
with:
148148
submodules: recursive
149149
fetch-depth: 0
150+
- name: Validate asyncAPI document
151+
uses: WaleedAshraf/[email protected]
152+
with:
153+
filepath: './docs/async-api/async-api.yml'
150154
- name: Generating HTML from AsyncAPI document
151155
uses: docker://asyncapi/github-action-for-generator:2.0.0
152156
with:

docs/async-api/async-api.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
asyncapi: 2.0.0
22
info:
33
title: Digital Twins Event Gateway
4+
version: '1.0.0'
45
description: The Gateway between Azure Digital Twins and the application microservices.
56
license:
67
name: MIT

0 commit comments

Comments
 (0)