Skip to content

Commit

Permalink
Revert "test: mix get linux on windows"
Browse files Browse the repository at this point in the history
This reverts commit 4de3db2.
  • Loading branch information
gp-pereira committed Nov 21, 2024
1 parent 4de3db2 commit 62f0e9b
Showing 1 changed file with 2 additions and 40 deletions.
42 changes: 2 additions & 40 deletions .github/workflows/elixir_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,41 +8,7 @@ on:
# - '**'

jobs:
deps:
name: Dependencies
runs-on: ubuntu-20.04
strategy:
matrix:
elixir: [1.13.4]
otp: [24.3.4]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Setup
uses: erlef/setup-elixir@v1
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}

- name: Retrieve Cached Dependencies
uses: actions/cache@v2
id: mix-cache
with:
path: deps
key: ${{ hashFiles('mix.lock') }}

- name: Install Dependencies
if: steps.mix-cache.outputs.cache-hit != 'true'
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
test:
needs: deps
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -93,12 +59,8 @@ jobs:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}

- name: Retrieve cached dependencies
uses: actions/cache@v2
id: mix-cache
with:
path: deps
key: ${{ hashFiles('mix.lock') }}
- name: Install dependencies
run: mix deps.get

- name: Run tests
run: mix test
Expand Down

0 comments on commit 62f0e9b

Please sign in to comment.