diff --git a/.github/workflows/elixir.yaml b/.github/workflows/elixir.yaml index 75b3afd..2f3a6d2 100644 --- a/.github/workflows/elixir.yaml +++ b/.github/workflows/elixir.yaml @@ -41,18 +41,18 @@ jobs: - name: Check out this repository uses: actions/checkout@v4 + # Ensure to restart MQTT after checkout to correctly bind the config volume + - name: Restart MQTT + uses: docker://docker + with: + args: restart mqtt + - name: Set up Erlang and Elixir uses: erlef/setup-beam@v1 with: otp-version: ${{matrix.otp}} elixir-version: ${{ matrix.elixir }} - # Ensure to restart MQTT after checkout to correctly bind the config volume - - name: Restart MQTT - uses: docker://docker - with: - args: docker restart mqtt - - name: Cache Mix dependencies uses: actions/cache@v3 id: cache-deps