Skip to content

Commit 6903341

Browse files
DEV: Fix validate pr workflow (#152)
The docker container we are booting up doesn't have /health endpoint so let's just use the root url instead.
1 parent 1620d95 commit 6903341

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/validate_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
# Start the validator container
2525
docker run --detach --name swagger-validator --publish 8080:8080 swaggerapi/swagger-validator-v2
2626
# Wait for the validator to be ready
27-
timeout 30 bash -c 'until curl -f http://localhost:8080/health; do sleep 1; done'
27+
timeout 30 bash -c 'until curl -s http://localhost:8080/ >/dev/null 2>&1; do sleep 1; done'
2828
2929
- name: Validate OpenAPI JSON
3030
run: |

0 commit comments

Comments
 (0)