diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 806d1f72..69aac797 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,16 +16,20 @@ jobs: uses: actions/checkout@v1 - name: Set up Elixir + id: beam uses: erlef/setup-beam@v1 with: version-file: .tool-versions version-type: strict - name: Install Dependencies + uses: yordis/erlef-gh-actions/preview/mix-deps-get@testing-caching-deps + with: + elixir-version: ${{ steps.beam.outputs.elixir-version }} + erlang-version: ${{ steps.beam.outputs.otp-version }} + + - name: Update SSL Verify Fun run: | - mix local.rebar --force - mix local.hex --force - mix deps.get mix deps.update ssl_verify_fun - name: Run Tests @@ -38,16 +42,17 @@ jobs: uses: actions/checkout@v1 - name: Set up Elixir + id: beam uses: erlef/setup-beam@v1 with: version-file: .tool-versions version-type: strict - name: Install Dependencies - run: | - mix local.rebar --force - mix local.hex --force - mix deps.get + uses: erlef/gh-actions/preview/mix-deps-get@main + with: + elixir-version: ${{ steps.beam.outputs.elixir-version }} + erlang-version: ${{ steps.beam.outputs.otp-version }} - name: Run Formatter run: mix format --check-formatted