Skip to content

Commit

Permalink
chore: use erlef actions
Browse files Browse the repository at this point in the history
  • Loading branch information
yordis committed Jun 24, 2024
1 parent ff9e273 commit f6fbc20
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f6fbc20

Please sign in to comment.