diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 666cf69..2aa86e3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -28,34 +28,28 @@ jobs: POSTGRES_PASSWORD: postgres POSTGRES_USER: codegenuser POSTGRES_DB: codegendb - port: - - 5435:5432 # Set health checks to wait until postgres has started options: >- --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 + ports: + - 5435:5432 steps: # Downloads a copy of the code in your repository before running CI tests - name: Check out repository code uses: actions/checkout@v2 - - # - name: Coursier cache - # uses: coursier/cache-action@v6 + - name: Coursier cache + uses: coursier/cache-action@v6 - name: Setup uses: olafurpg/setup-scala@v10 with: java-version: adopt@1.11 - # - name: Connect to PostgreSQL - # # Runs a script that creates a PostgreSQL client, populates - # # the client with data, and retrieves data - # run: node client.js - name: Migrate run: csbt flyway/flywayMigrate - name: Run Tests run: csbt test - name: Package run: csbt docker:stage - # Environment variable used by the `client.js` script to create a new PostgreSQL client.