Skip to content

Commit

Permalink
install rebar in action
Browse files Browse the repository at this point in the history
  • Loading branch information
mruoss committed Jun 13, 2023
1 parent 3e9b8f4 commit c462152
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
with:
elixir-version: ${{matrix.elixir}}
otp-version: ${{matrix.otp}}
install-rebar: true
install-hex: true

- name: Retrieve Build Cache
uses: actions/cache@v3
Expand Down Expand Up @@ -59,10 +61,7 @@ jobs:
priv/plts
- name: Install Mix Dependencies
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
run: mix deps.get

- name: Check Formatting
run: mix format --check-formatted
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/elixir_matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
install-rebar: true
install-hex: true

- name: Retrieve Build Cache
uses: actions/cache@v3
Expand All @@ -35,8 +37,6 @@ jobs:
path: deps
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}

- run: mix local.rebar --force
- run: mix local.hex --force
- run: mix deps.get
- run: mix compile --warnings-as-errors
- run: mix test
4 changes: 2 additions & 2 deletions .github/workflows/k8s_matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
install-rebar: true
install-hex: true

- name: Retrieve Build Cache
uses: actions/cache@v3
Expand All @@ -42,8 +44,6 @@ jobs:
path: deps
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}

- run: mix local.rebar --force
- run: mix local.hex --force
- run: mix deps.get
- name: Run Integration Tests
run: |
Expand Down

0 comments on commit c462152

Please sign in to comment.