Skip to content

Commit

Permalink
try caching and restoring cargo and sqlx binary
Browse files Browse the repository at this point in the history
  • Loading branch information
TIL-EBP committed Oct 31, 2024
1 parent 281abf9 commit 5d746bf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,14 @@ jobs:
restore-keys: |
cargo-build-${{ runner.os }}-
- name: Cache sqlx binary
uses: actions/cache/restore@v4
with:
path: ~/.cargo/bin/sqlx
key: sqlx-${{ runner.os }}-${{ hashFiles('./api/Cargo.lock') }}
restore-keys: |
sqlx-${{ runner.os }}-
- name: Install Rust dependencies
env:
DATABASE_URL: "postgres://www-data:www-data@localhost:15432/swissgeol-local"
Expand Down

0 comments on commit 5d746bf

Please sign in to comment.