Skip to content

Commit

Permalink
Cache the Theseus postgresql install to avoid rate limit errors on CI…
Browse files Browse the repository at this point in the history
… PR jobs.

Signed-off-by: Hiram Chirino <[email protected]>
  • Loading branch information
chirino committed Jan 15, 2025
1 parent 88424ad commit d7c7279
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d7c7279

Please sign in to comment.