Skip to content

Commit

Permalink
Modernize runtime dependencies (beam-community#249)
Browse files Browse the repository at this point in the history
* Modernize versions

* Exclude elixir 1.12 on OTP 21

* Update ci.yml

* Update mix.exs

* Remove unused directory

* Create dependabot.yml
  • Loading branch information
lucacorti authored Jun 1, 2021
1 parent f134a51 commit 742625b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: mix
directory: "/"
schedule:
interval: weekly
open-pull-requests-limit: 999
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ jobs:
name: Test (OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}})
strategy:
matrix:
elixir: ['1.10', '1.9', '1.8', '1.7']
elixir: ['1.12', '1.11', '1.10', '1.9']
# All of the above can use this version. For details see: https://hexdocs.pm/elixir/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp
otp: [22, 21]

otp: [24, 23, 22, 21]
exclude:
- {otp: '21', elixir: '1.12'}
- {otp: '24', elixir: '1.9'}
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
Expand All @@ -33,9 +35,9 @@ jobs:
name: Linting
strategy:
matrix:
elixir: ['1.10']
elixir: ['1.12']
# All of the above can use this version. For details see: https://hexdocs.pm/elixir/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp
otp: [22, 21]
otp: [24]
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defmodule JSONAPI.Mixfile do
package: package(),
compilers: compilers(Mix.env()),
description: description(),
elixir: "~> 1.7",
elixir: "~> 1.9",
elixirc_paths: elixirc_paths(Mix.env()),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
Expand Down
Empty file removed priv/plts/.gitkeep
Empty file.

0 comments on commit 742625b

Please sign in to comment.