Skip to content

refactor: remote graphite trigger validation #1074

refactor: remote graphite trigger validation

refactor: remote graphite trigger validation #1074

name: Validate OpenAPI on PR
on:
- pull_request
jobs:
mergespec:
name: Validate spec file
runs-on: ubuntu-22.04
defaults:
run:
working-directory: .
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- run: make install-swag
- uses: actions/setup-node@v4
with:
node-version: '20.17.0'
- run: npm install --location=global @openapitools/openapi-generator-cli
- run: make spec
- run: make validate-spec