generated from okp4/template-oss
-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(lint): remove openapi generation linter
- Loading branch information
Showing
1 changed file
with
0 additions
and
30 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |