Skip to content

Commit

Permalink
Fix ci (#226)
Browse files Browse the repository at this point in the history
* updated minimum elixir version due to ecto dependency

* make ci run on PRs

* Update .github/workflows/ci.yml

Co-authored-by: Petr Stepchenko <nitrinodev@gmail.com>

* tweaks

---------

Co-authored-by: Gabriel Perales <gabriel.perales@cabify.com>
Co-authored-by: Petr Stepchenko <nitrinodev@gmail.com>
  • Loading branch information
3 people authored Jul 9, 2024
1 parent 4ad07e9 commit b083461
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
on: push
on:
pull_request:

jobs:
test:
Expand All @@ -7,10 +8,10 @@ jobs:
strategy:
matrix:
include:
- otp: 25.1
elixir: 1.15.4
- otp: 27.0
elixir: 1.17.2
- otp: 21.3
elixir: 1.7.4
elixir: 1.11.4

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ defmodule Money.Mixfile do
aliases: aliases(),
name: "Money",
version: @version,
elixir: "~> 1.0",
elixir: "~> 1.11",
deps: deps(),
docs: fn ->
[
Expand All @@ -36,7 +36,7 @@ defmodule Money.Mixfile do
defp deps do
[
# Soft dependencies
{:ecto, "~> 1.0 or ~> 2.0 or ~> 2.1 or ~> 3.0", optional: true},
{:ecto, "~> 2.1 or ~> 3.0", optional: true},
{:phoenix_html, "~> 2.0 or ~> 3.0 or ~> 4.0", optional: true},
{:decimal, "~> 1.0 or ~> 2.0", optional: true},

Expand Down

0 comments on commit b083461

Please sign in to comment.