Skip to content

Commit

Permalink
try caching the database
Browse files Browse the repository at this point in the history
  • Loading branch information
TIL-EBP committed Oct 31, 2024
1 parent 6565b11 commit 5b5e2b1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -252,13 +252,13 @@ jobs:
restore-keys: |
sqlx-${{ runner.os }}-
- name: Install Rust dependencies
env:
DATABASE_URL: "postgres://www-data:www-data@localhost:15432/swissgeol-local"
run: |
docker compose up -d db
sleep 10
cd api
# - name: Install Rust dependencies
# env:
# DATABASE_URL: "postgres://www-data:www-data@localhost:15432/swissgeol-local"
# run: |
# docker compose up -d db
# sleep 10
# cd api
# sqlx database create
# sqlx migrate run
- name: Run container
Expand Down

0 comments on commit 5b5e2b1

Please sign in to comment.