docs(openapi): Proposal for better OpenAPI definitions #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | ||
on: | ||
pull_request: | ||
jobs: | ||
Lint definitions: | ||
Check failure on line 7 in .github/workflows/lint.yaml GitHub Actions / LintInvalid workflow file
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: bufbuild/buf-setup-action@v1 | ||
- uses: bufbuild/buf-lint-action@v1 | ||
- name: "Lint: proto" | ||
uses: bufbuild/buf-breaking-action@v1 | ||
with: | ||
against: "https://github.com/instill-ai/protobufs.git#branch=main,ref=HEAD~1" | ||
- name: "Lint: openapi" | ||
uses: mhiew/redoc-lint-github-action@v3 | ||
with: | ||
args: "openapiv2/openapiv2.swagger.yaml" |