Skip to content

Commit

Permalink
Updated GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertDober committed Nov 27, 2022
1 parent 744d853 commit ca8007c
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ on:
push:
branches:
- master
- rel-1.4.25

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
matrix:
Expand All @@ -39,21 +38,14 @@ jobs:
otp: "24.1.2"
elixir: "1.13.0"
- pair:
otp: "24.1.2"
elixir: "1.14.0"
otp: 25.0.4
elixir: 1.14.0
steps:
- uses: actions/checkout@v2
- name: Set up Elixir
uses: erlef/setup-elixir@885971a72ed1f9240973bd92ab57af8c1aa68f24
with:
elixir-version: ${{matrix.elixir}} # Define the elixir version [required]
otp-version: ${{matrix.otp}} # Define the OTP version [required]
- name: Restore dependencies cache
uses: actions/cache@v2
- uses: erlef/setup-beam@v1
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Install dependencies
run: mix deps.get
- name: Run tests
Expand Down

0 comments on commit ca8007c

Please sign in to comment.