Skip to content

Commit

Permalink
ci(lint): remove openapi generation linter
Browse files Browse the repository at this point in the history
  • Loading branch information
amimart committed Sep 22, 2022
1 parent 866da22 commit 1f6dd5a
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,33 +125,3 @@ jobs:
- name: Lint proto files
run: |
make lint-proto
lint-generated:
runs-on: ubuntu-20.04
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
fetch-depth: "0"

- name: Setup Go environment
uses: actions/[email protected]
with:
go-version: "1.19"

- name: Install Ignite CLI
run: |
curl https://get.ignite.com/[email protected]! | bash
- name: Generate OpenAPI spec for the chain
run: |
ignite version
ignite generate openapi --yes
- name: Check Git diff in generated files (openapi.yml)
run: |
if [[ $(git status -s | grep -v 'go.mod$' | grep -v 'go.sum$') != "" ]]; then
>&2 echo "❌ There is a diff between generated files and source code"
>&2 git status
exit 1
fi

0 comments on commit 1f6dd5a

Please sign in to comment.