Skip to content

Commit

Permalink
fix: openapi lint cat-ci version
Browse files Browse the repository at this point in the history
  • Loading branch information
bkioshn committed Jan 25, 2024
1 parent a8341bf commit fb746ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions catalyst-gateway/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ test:
# test-lint-openapi - OpenAPI linting from an artifact
# testing whether the OpenAPI generated during build stage follows good practice.
test-lint-openapi:
FROM github.com/input-output-hk/catalyst-ci/earthly/spectral:feat/openapi-lint+spectral-base
FROM github.com/input-output-hk/catalyst-ci/earthly/spectral:v2.4.0+spectral-base
# Copy the doc artifact.
COPY +hosted-build/doc ./doc
# Scan the doc directory where type of file is JSON.
DO github.com/input-output-hk/catalyst-ci/earthly/spectral:feat/openapi-lint+BUILD_SPECTRAL --dir=./doc --file_type="json"
DO github.com/input-output-hk/catalyst-ci/earthly/spectral:v2.4.0+BUILD_SPECTRAL --dir=./doc --file_type="json"

# Publish packages if all integration tests have passed. (Failure to pass tests will prevent packages being published.)
# publish:
Expand Down

0 comments on commit fb746ad

Please sign in to comment.