Skip to content

Commit

Permalink
try homebrew for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
falood committed Nov 9, 2023
1 parent d26dc75 commit d4934c7
Showing 1 changed file with 7 additions and 23 deletions.
30 changes: 7 additions & 23 deletions .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,15 @@ jobs:
MIX_ENV: test
strategy:
fail-fast: false
matrix:
include:
- pair:
elixir: 1.12.3
otp: 23.3
- pair:
elixir: 1.15.7
otp: 26.1
lint: lint
steps:
- uses: actions/checkout@v3
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master

- name: Install Elixir
run: sudo brew install erlang elixir

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

- uses: actions/cache@v3
with:
path: |
deps
_build
key: ${{ runner.os }}-mix-${{matrix.pair.elixir}}-${{matrix.pair.otp}}-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-mix-
- uses: actions/checkout@v3

- run: mix deps.get

Expand Down

0 comments on commit d4934c7

Please sign in to comment.