diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index bf6246ac..60c1a3da 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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/setup-go@v3.3.0 - with: - go-version: "1.19" - - - name: Install Ignite CLI - run: | - curl https://get.ignite.com/cli@v0.24.0! | 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