Skip to content

Commit

Permalink
fix running container syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
p-wall committed Jul 15, 2024
1 parent 6a9bcc5 commit 333c64f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
postgres: ${{ steps.versions.outputs.postgres }}

test:
runs-on: hexpm/elixir:${{ needs.versions.outputs.elixir }}-erlang-${{ needs.versions.outputs.erlang }}-alpine-${{ needs.versions.outputs.alpine }}
runs-on: ubuntu-latest
container: hexpm/elixir:${{ needs.versions.outputs.elixir }}-erlang-${{ needs.versions.outputs.erlang }}-alpine-${{ needs.versions.outputs.alpine }}
needs: versions
services:
postgres:
Expand All @@ -40,7 +41,7 @@ jobs:
env:
MIX_ENV: test
DB_USER: postgres
DATABASE_URL: postgres://postgres@localhost/ex_gridhook_test
DATABASE_URL: postgres://postgres@postgres/ex_gridhook_test
steps:
- uses: actions/checkout@v4
- run: mix local.hex --force && mix local.rebar --force && mix deps.get && mix compile
Expand Down

0 comments on commit 333c64f

Please sign in to comment.