Skip to content

Commit

Permalink
Require Elixir 1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
rupurt committed Jun 6, 2021
1 parent 9c09f8e commit 5342ccf
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 22 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:

strategy:
matrix:
otp: [21.x, 22.x, 23.x]
elixir: [1.9.x, 1.10.x, 1.11.x]
otp: [22.x, 23.x, 24.x]
elixir: [1.11.x, 1.12.x]

steps:
- uses: actions/checkout@v2.3.4

- uses: erlef/setup-elixir@v1.7
- uses: erlef/setup-elixir@v1.7.2
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
Expand All @@ -30,10 +30,10 @@ jobs:
deps
_build/dev
_build/test
key: elixir-cache-${{secrets.CACHE_VERSION}}-${{matrix.elixir}}-otp-${{matrix.otp}}-${{runner.os}}-${{hashFiles('mix.lock')}}-${{github.ref}}
key: elixir-cache-5goNLzIDwagspnM2-${{matrix.elixir}}-otp-${{matrix.otp}}-${{runner.os}}-${{hashFiles('mix.lock')}}-${{github.ref}}
restore-keys: |
elixir-cache-${{secrets.CACHE_VERSION}}-${{matrix.elixir}}-otp-${{matrix.otp}}-${{runner.os}}-${{hashFiles('mix.lock')}}-
elixir-cache-${{secrets.CACHE_VERSION}}-${{matrix.elixir}}-otp-${{matrix.otp}}-${{runner.os}}-
elixir-cache-5goNLzIDwagspnM2-${{matrix.elixir}}-otp-${{matrix.otp}}-${{runner.os}}-${{hashFiles('mix.lock')}}-
elixir-cache-5goNLzIDwagspnM2-${{matrix.elixir}}-otp-${{matrix.otp}}-${{runner.os}}-
- name: Install Dependencies
run: mix deps.get
Expand All @@ -42,6 +42,7 @@ jobs:
env:
MIX_ENV: test
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
BINANCE_API_KEY: ${{secrets.BINANCE_API_KEY}}
BINANCE_API_SECRET: ${{secrets.BINANCE_API_SECRET}}
BINANCE_API_DOMAIN: testnet.binance.vision
BINANCE_API_KEY: abc123
BINANCE_API_SECRET: abc123
run: mix coveralls.github
26 changes: 13 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,27 @@ jobs:
strategy:
matrix:
otp: [22.x, 23.x, 24.x]
elixir: [1.10.x, 1.11.x, 1.12.x]
elixir: [1.11.x, 1.12.x]

steps:
- uses: actions/checkout@v2.3.4

- uses: erlef/setup-elixir@v1.7.1
- uses: erlef/setup-elixir@v1.7.2
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}

# - name: Cache Dependencies
# uses: actions/cache@v2.1.6
# with:
# path: |
# deps
# _build/dev
# _build/test
# key: elixir-cache-5goNLzIDwagspnM2-${{matrix.elixir}}-otp-${{matrix.otp}}-${{runner.os}}-${{hashFiles('mix.lock')}}-${{github.ref}}
# restore-keys: |
# elixir-cache-5goNLzIDwagspnM2-${{matrix.elixir}}-otp-${{matrix.otp}}-${{runner.os}}-${{hashFiles('mix.lock')}}-
# elixir-cache-5goNLzIDwagspnM2-${{matrix.elixir}}-otp-${{matrix.otp}}-${{runner.os}}-
- name: Cache Dependencies
uses: actions/cache@v2.1.6
with:
path: |
deps
_build/dev
_build/test
key: elixir-cache-5goNLzIDwagspnM2-${{matrix.elixir}}-otp-${{matrix.otp}}-${{runner.os}}-${{hashFiles('mix.lock')}}-${{github.ref}}
restore-keys: |
elixir-cache-5goNLzIDwagspnM2-${{matrix.elixir}}-otp-${{matrix.otp}}-${{runner.os}}-${{hashFiles('mix.lock')}}-
elixir-cache-5goNLzIDwagspnM2-${{matrix.elixir}}-otp-${{matrix.otp}}-${{runner.os}}-
- name: Install Dependencies
run: mix deps.get
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule ExBinance.MixProject do
[
app: :ex_binance,
version: "0.0.8",
elixir: "~> 1.10",
elixir: "~> 1.11",
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
Expand Down

0 comments on commit 5342ccf

Please sign in to comment.