Skip to content

Commit

Permalink
feat: cURL to check endpoint up
Browse files Browse the repository at this point in the history
  • Loading branch information
HashMapsData2Value committed Oct 29, 2024
1 parent b061295 commit 8a74054
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ jobs:
run: docker compose up -d

- name: Wait for the server to start
run: npx wait-on localhost:8080
run: |
while ! curl --output /dev/null --silent --head --fail http://localhost:8080; do
sleep 1 && echo -n .;
done;
- name: Install dependencies
run: go get .
Expand Down

0 comments on commit 8a74054

Please sign in to comment.