Skip to content

Commit

Permalink
Use erlef/setup-beam and bump GHA actions (#33)
Browse files Browse the repository at this point in the history
Remove extra redirection. See erlef/setup-beam#20.
  • Loading branch information
kianmeng authored Nov 17, 2022
1 parent 0d253fc commit 0bbbb96
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- id: install
name: Install Elixir
uses: erlef/setup-elixir@v1
uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp }}
elixir-version: ${{ matrix.elixir }}

- name: Restore cached build
uses: actions/cache@v2
uses: actions/cache@v3
with:
key: builds@elixir-${{ steps.install.outputs.elixir-version }}-otp-${{ steps.install.outputs.otp-version }}-mix-${{ hashFiles('mix.lock') }}
path: |
Expand All @@ -82,7 +82,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Restore cached integrations
uses: actions/cache@v2
uses: actions/cache@v3
with:
key: integrations@elixir-${{ steps.install.outputs.elixir-version }}-otp-${{ steps.install.outputs.otp-version }}-mix-${{ hashFiles('integration/tests/*/mix.lock') }}
path: |
Expand All @@ -93,7 +93,7 @@ jobs:
run: mix integrate

- name: Restore cached PLTs
uses: actions/cache@v2
uses: actions/cache@v3
with:
key: plts@elixir-${{ steps.install.outputs.elixir-version }}-otp-${{ steps.install.outputs.otp-version }}-mix-${{ hashFiles('mix.lock') }}
path: |
Expand Down

0 comments on commit 0bbbb96

Please sign in to comment.