Skip to content

Commit

Permalink
Update elixir
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmj committed Jan 12, 2025
1 parent 422b2ff commit d417317
Showing 1 changed file with 6 additions and 21 deletions.
27 changes: 6 additions & 21 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,18 @@ name: CI
on: [push, pull_request]

jobs:
format:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install OTP and Elixir
uses: erlef/setup-beam@v1
with:
otp-version: 25.1
elixir-version: 1.14.0

- name: Install dependencies
run: mix deps.get

- name: Check mix format
run: mix format --check-formatted

test:
name: Test
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install OTP and Elixir
uses: erlef/setup-beam@v1
with:
otp-version: 25.1
elixir-version: 1.14.0
otp-version: 27.2
elixir-version: 1.18.1

- name: Install dependencies
run: |
Expand All @@ -43,6 +25,9 @@ jobs:
run: |
MIX_ENV=test mix compile --warnings-as-errors
- name: Check mix format
run: mix format --check-formatted

- name: Run tests
run: |
mix test

0 comments on commit d417317

Please sign in to comment.