From 30180b0c3b453c06fd3e7d47f66767c0bc6cc70e Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Fri, 5 Jan 2024 14:19:27 +0100 Subject: [PATCH] ci: retry logic for freebsd test step Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ccc3c9e..fa86cf6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -139,5 +139,9 @@ jobs: vagrant up --no-tty - name: Test - run: | - vagrant ssh -- "cd /vagrant; go test -buildvcs=false ./..." + uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0 + with: + timeout_minutes: 20 + max_attempts: 5 + command: | + vagrant ssh -- "cd /vagrant; go test -buildvcs=false ./..."