Skip to content

Commit

Permalink
fix: ci action db env
Browse files Browse the repository at this point in the history
  • Loading branch information
ManasC478 committed Oct 9, 2024
1 parent 7a390d7 commit e9d1dab
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ on:

jobs:
typecheck:
runs-on: ubunut-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Typecheck
run: |
docker build --target=typecheck --no-cache .
lint:
runs-on: ubunut-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand All @@ -31,15 +31,17 @@ jobs:
ports:
- 5432:5432
volumes:
- acm_website_db_data:/var/lib/postgresql/data
- ./db-scripts:/docker-entrypoint-initdb.d/
env:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: acm_website
options: >-
--health-cmd "pg_isready -U postgres"
--health-interval 5s
--health-timeout 5s
--health-retries 5
--health-start-period 15s
--env-file .env
steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit e9d1dab

Please sign in to comment.