From d417317fea7dcf4becfeb4d072ad9555764101cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=20Meadows-J=C3=B6nsson?= Date: Sun, 12 Jan 2025 19:46:20 +0100 Subject: [PATCH] Update elixir --- .github/workflows/main.yml | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 53fff5c..9736a7e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: | @@ -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