diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d6a31663..509b9ae9e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,12 @@ jobs: steps: - uses: actions/checkout@v6 - name: Install CI deps - run: bash integration/ci/install-deps.sh + uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 + with: + timeout_minutes: 10 + max_attempts: 3 + retry_wait_seconds: 5 + command: bash integration/ci/install-deps.sh # Compute the binary key before restoring rust-cache: rust-cache restores # target/ build outputs that would otherwise change the key. Use the # split cache actions so pgdog binaries are saved immediately after the @@ -120,7 +125,12 @@ jobs: steps: - uses: actions/checkout@v6 - name: Install CI deps - run: bash integration/ci/install-deps.sh + uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 + with: + timeout_minutes: 10 + max_attempts: 3 + retry_wait_seconds: 5 + command: bash integration/ci/install-deps.sh - name: Compute cache key id: cache-key run: echo "key=pgdog-bin-${{ runner.os }}-coverage-$(bash integration/ci/cache-key.sh)" >> "$GITHUB_OUTPUT" diff --git a/.github/workflows/fmt.yml b/.github/workflows/fmt.yml index da134db74..8c64dc227 100644 --- a/.github/workflows/fmt.yml +++ b/.github/workflows/fmt.yml @@ -21,7 +21,12 @@ jobs: steps: - uses: actions/checkout@v6 - name: Install CI deps - run: bash integration/ci/install-deps.sh + uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 + with: + timeout_minutes: 10 + max_attempts: 3 + retry_wait_seconds: 5 + command: bash integration/ci/install-deps.sh - name: Format run: cargo fmt --all -- --check - name: Clippy diff --git a/.github/workflows/plugin-ci.yml b/.github/workflows/plugin-ci.yml index 66a2d2093..c575df020 100644 --- a/.github/workflows/plugin-ci.yml +++ b/.github/workflows/plugin-ci.yml @@ -23,7 +23,12 @@ jobs: steps: - uses: actions/checkout@v6 - name: Install CI deps - run: bash integration/ci/install-deps.sh + uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 + with: + timeout_minutes: 10 + max_attempts: 3 + retry_wait_seconds: 5 + command: bash integration/ci/install-deps.sh - uses: Swatinem/rust-cache@v2 with: prefix-key: "plugin-unit-v1" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1f400a8f6..7a0cdf747 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,7 +16,12 @@ jobs: steps: - uses: actions/checkout@v6 - name: Install CI deps - run: bash integration/ci/install-deps.sh + uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 + with: + timeout_minutes: 10 + max_attempts: 3 + retry_wait_seconds: 5 + command: bash integration/ci/install-deps.sh - uses: Swatinem/rust-cache@v2 with: prefix-key: "v1" # Change this when updating tooling