Skip to content

Commit

Permalink
Try using asdf reusable workflow to install Elixir and Erlang
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarber623-cargosense committed Aug 5, 2024
1 parent 5b9a38a commit 95f2fd8
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,18 @@ jobs:
strategy:
fail-fast: false
matrix:
otp: ["erlang@24", "erlang"]
pair:
- elixir: "1.13"
otp: "24.3.4.10"
- elixir: "1.17"
otp: "27.0.1"
steps:
- uses: actions/checkout@v4
- name: Install Erlang and Elixir with Homebrew
run: |
brew install ${{ matrix.otp }}
mix local.hex --force
- run: |
echo "elixir ${{ matrix.pair.elixir }}" >> .tool-versions
echo "erlang ${{ matrix.pair.otp }}" >> .tool-versions
cat .tool-versions
- uses: asdf-vm/actions/install@v3
- run: mix format --check-formatted
- run: mix test
test_ubuntu:
Expand Down

0 comments on commit 95f2fd8

Please sign in to comment.