Skip to content

Commit

Permalink
Fix CI and update Elixir and OTP versions
Browse files Browse the repository at this point in the history
  • Loading branch information
whatyouhide committed Nov 13, 2024
1 parent 7c290df commit 693f629
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ jobs:
elixir: "1.8.2"
otp: "21.3.8.17"
- pair:
elixir: "1.15.0"
otp: "25.3"
elixir: "1.17.3"
otp: "27.1"
lint: lint
coverage: coverage
steps:
- name: Clone the repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Start Docker
run: docker-compose up --detach
run: docker compose up --detach

- name: Install Erlang/OTP and Elixir
uses: erlef/setup-beam@v1
Expand All @@ -38,7 +38,7 @@ jobs:
elixir-version: ${{ matrix.pair.elixir }}

- name: Cache Mix dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
deps
Expand All @@ -59,9 +59,6 @@ jobs:
run: mix deps.unlock --check-unused
if: ${{ matrix.lint }}

- name: Compile Mix dependencies
run: mix deps.compile

- name: Compile code and check for warnings
run: mix compile --warnings-as-errors
if: ${{ matrix.lint }}
Expand Down

0 comments on commit 693f629

Please sign in to comment.