From cf6d654864247fe0f1c63de66510636a260a2c16 Mon Sep 17 00:00:00 2001 From: Gabriel Perales Date: Mon, 8 Jul 2024 11:06:41 +0200 Subject: [PATCH 1/4] updated minimum elixir version due to ecto dependency --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8549f0c..fd3e509 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: - otp: 25.1 elixir: 1.15.4 - otp: 21.3 - elixir: 1.7.4 + elixir: 1.11.4 steps: - uses: actions/checkout@v3 From aefd9886733ccd1bb3dfd77cadcd44fbed89c461 Mon Sep 17 00:00:00 2001 From: Gabriel Perales Date: Mon, 8 Jul 2024 11:12:07 +0200 Subject: [PATCH 2/4] make ci run on PRs --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd3e509..109d7b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,8 @@ -on: push +on: + push: + pull_request: + branches: [master] + types: [opened, synchronize, reopened] jobs: test: From 03afffd2e64e081a7537bf9d850d0451ba93b90d Mon Sep 17 00:00:00 2001 From: Gabriel Date: Mon, 8 Jul 2024 23:48:48 +0200 Subject: [PATCH 3/4] Update .github/workflows/ci.yml Co-authored-by: Petr Stepchenko --- .github/workflows/ci.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 109d7b8..73a0f92 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,8 +1,5 @@ on: - push: pull_request: - branches: [master] - types: [opened, synchronize, reopened] jobs: test: From 1ccf8ebf1950e830d338a53c746053ae26c6eadd Mon Sep 17 00:00:00 2001 From: Gabriel Perales Date: Tue, 9 Jul 2024 20:27:49 +0200 Subject: [PATCH 4/4] tweaks --- .github/workflows/ci.yml | 4 ++-- mix.exs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73a0f92..2fcc705 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,8 +8,8 @@ jobs: strategy: matrix: include: - - otp: 25.1 - elixir: 1.15.4 + - otp: 27.0 + elixir: 1.17.2 - otp: 21.3 elixir: 1.11.4 diff --git a/mix.exs b/mix.exs index 9eeb7e0..081aa57 100644 --- a/mix.exs +++ b/mix.exs @@ -10,7 +10,7 @@ defmodule Money.Mixfile do aliases: aliases(), name: "Money", version: @version, - elixir: "~> 1.0", + elixir: "~> 1.11", deps: deps(), docs: fn -> [ @@ -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},