From 2ab908c12d9ea937d66a79d6a85874825265ecaa Mon Sep 17 00:00:00 2001 From: curquiza Date: Mon, 29 Apr 2024 15:09:02 +0200 Subject: [PATCH] Add check for open API file in CI --- .github/workflows/validation-file.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/validation-file.yml diff --git a/.github/workflows/validation-file.yml b/.github/workflows/validation-file.yml new file mode 100644 index 0000000..8d7e3e3 --- /dev/null +++ b/.github/workflows/validation-file.yml @@ -0,0 +1,14 @@ +name: Validate Open API file + +on: + pull_request: + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: openapi-validator-action + uses: thiyagu06/openapi-validator-action@v1 + with: + filepath: 'open-api.yaml'