From 333c64f2162c246150aab57c36e67fe5c1b78807 Mon Sep 17 00:00:00 2001 From: Peter Wall Date: Mon, 15 Jul 2024 09:45:19 +0200 Subject: [PATCH] fix running container syntax --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aa55863..76489a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -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