From f6fbc209e9f81dcbefb13c665de903c775cfbcc5 Mon Sep 17 00:00:00 2001 From: Yordis Prieto Date: Mon, 24 Jun 2024 00:54:42 -0400 Subject: [PATCH] chore: use erlef actions --- .github/workflows/ci.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) 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