Skip to content

Commit

Permalink
feat: lint OpenAPI as GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
jvallesm committed Dec 19, 2023
1 parent c19228b commit 514a172
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Check buf
name: Lint

on:
pull_request:
Expand All @@ -10,6 +10,11 @@ jobs:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1
- uses: bufbuild/buf-lint-action@v1
- uses: bufbuild/buf-breaking-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"

0 comments on commit 514a172

Please sign in to comment.