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

Update minimum Elixir to 12, update ci and tool-versions #335

Merged
merged 9 commits into from
Nov 27, 2023
Merged
24 changes: 10 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,9 @@ jobs:
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
matrix:
otp: [22.x, 23.x, 24.x, 25.1.x]
elixir: [1.11.x, 1.12.x, 1.13.x, 1.14.x]
otp: [23.x, 24.x, 25.1.x, 26.1.x]
elixir: [1.12.x, 1.13.x, 1.14.x, 1.15.x]
exclude:
- otp: 25.1.x
elixir: 1.11.x
- otp: 25.1.x
elixir: 1.12.x
- otp: 22.x
Expand Down Expand Up @@ -68,8 +66,8 @@ jobs:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
otp-version: 25.1.x
elixir-version: 1.14.x
otp-version: 26.1.x
elixir-version: 1.15.x
- name: Retrieve dependencies cache
uses: actions/cache@v3
id: mix-cache # id to use in retrieve action
Expand All @@ -90,11 +88,9 @@ jobs:
if: ${{ github.ref == 'refs/heads/master' }}
strategy:
matrix:
otp: [22.x, 23.x, 24.x, 25.1.x]
elixir: [1.11.x, 1.12.x, 1.13.x, 1.14.x]
otp: [23.x, 24.x, 25.1.x, 26.1.x]
elixir: [1.12.x, 1.13.x, 1.14.x, 1.15.x]
exclude:
- otp: 25.1.x
elixir: 1.11.x
- otp: 25.1.x
elixir: 1.12.x
- otp: 22.x
Expand Down Expand Up @@ -123,8 +119,8 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
otp: [24.x, 25.1.x]
elixir: [1.14.x]
otp: [25.1.x, 26.1.x]
elixir: [1.15.x]
env:
MIX_ENV: test
steps:
Expand Down Expand Up @@ -157,8 +153,8 @@ jobs:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
otp-version: 25.1.x
elixir-version: 1.14.x
otp-version: 26.1.x
elixir-version: 1.15.x
- name: Retrieve dependencies cache
uses: actions/cache@v3
id: mix-cache # id to use in retrieve action
Expand Down
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
elixir 1.14.2-otp-25
erlang 25.1.1
elixir 1.15.7-otp-26
erlang 26.1.2
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defmodule GRPC.Mixfile do
[
app: :grpc,
version: @version,
elixir: "~> 1.11",
elixir: "~> 1.12",
elixirc_paths: elixirc_paths(Mix.env()),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
Expand Down