use dots2 spinner

This commit is contained in:
Daylin Morgan 2025-02-11 09:18:17 -06:00
parent 44343c7652
commit 6f80f19f3b
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -88,7 +88,7 @@ proc getInProgressRun(
start = now()
timeoutDuration = initDuration(milliseconds = timeout)
withSpinner fmt"waiting for {workflow} workflow to start":
with(Dots2, fmt"waiting for {workflow} workflow to start"):
while (now() - start) < timeoutDuration:
let response = getGhApi(fmt"https://api.github.com/repos/daylinmorgan/oizys/actions/workflows/{workflow}/runs")
let runs = fromJson(response.body, ListGhWorkflowResponse).workflow_runs