Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ci #226

Merged
merged 4 commits into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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:

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that removing push here made it so that now it doens't run CI on master branch, only pull requests.

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

Nitrino marked this conversation as resolved.
Show resolved Hide resolved
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
Loading