From d7c72799780d46a395d8351d673dba5bc3099f76 Mon Sep 17 00:00:00 2001 From: Hiram Chirino Date: Wed, 15 Jan 2025 15:34:58 -0500 Subject: [PATCH] Cache the Theseus postgresql install to avoid rate limit errors on CI PR jobs. Signed-off-by: Hiram Chirino --- .github/workflows/ci.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8cc1ac5fd..e118572c2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -45,6 +45,13 @@ jobs: run: cargo check - name: Clippy run: cargo clippy --all-targets --all-features -- -D warnings -D clippy::unwrap_used -D clippy::expect_used + + - name: Cache Theseus Postgresql Installation + uses: actions/cache@v4 + with: + path: ~/.theseus/postgresql + key: ${{ runner.os }}-theseus-postgresql-${{ hashFiles('**/Cargo.lock') }} + - name: Test run: cargo test -- --nocapture env: