Skip to content

Commit

Permalink
Migrate GitHub Actions to erlef/setup-beam
Browse files Browse the repository at this point in the history
See erlef/setup-beam#20

Also fixed the typos.
  • Loading branch information
kianmeng committed Jun 2, 2022
1 parent 07f0d66 commit 016e9ab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
- name: Checkout Github repo
uses: actions/checkout@v2

- name: Setup elixir & erlang enviroment
uses: actions/setup-elixir@v1
- name: Setup elixir & erlang environment
uses: erlef/setup-beam@v1
with:
elixir-version: ${{matrix.elixir}} # Define the elixir version [required]
otp-version: ${{matrix.otp}} # Define the OTP version [required]
Expand Down Expand Up @@ -78,8 +78,8 @@ jobs:
with:
fetch-depth: 0

- name: Setup elixir & erlang enviroment
uses: actions/setup-elixir@v1
- name: Setup elixir & erlang environment
uses: erlef/setup-beam@v1
with:
elixir-version: ${{matrix.elixir}} # Define the elixir version [required]
otp-version: ${{matrix.otp}} # Define the OTP version [required]
Expand All @@ -105,4 +105,4 @@ jobs:
run: mix credo

- name: Run Dialyzer
run: mix dialyzer --no-check
run: mix dialyzer --no-check
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
access_token: ${{ github.token }}
- name: Checkout Github repo
uses: actions/checkout@v2
- name: Setup elixir & erlang enviroment
uses: actions/setup-elixir@v1
- name: Setup elixir & erlang environment
uses: erlef/setup-beam@v1
with:
elixir-version: ${{matrix.pair.elixir}} # Define the elixir version [required]
otp-version: ${{matrix.pair.otp}} # Define the OTP version [required]
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Setup elixir & erlang enviroment
- name: Setup elixir & erlang environment
uses: actions/setup-elixir@v1
with:
elixir-version: ${{matrix.pair.elixir}} # Define the elixir version [required]
Expand Down

0 comments on commit 016e9ab

Please sign in to comment.