Add elixir 1.13 to matrix; drop OTP 21 support (#55)
* Add elixir 1.13 to matrix; drop OTP 21 support
This commit is contained in:
parent
9446655797
commit
4f087f85a5
|
@ -1,10 +1,11 @@
|
||||||
{
|
{
|
||||||
"otp_version": [
|
"otp_version": [
|
||||||
"24.0.6",
|
"24.2",
|
||||||
"23.3.4.7",
|
"23.3.4.10",
|
||||||
"22.3.4.21"
|
"22.3.4.24"
|
||||||
],
|
],
|
||||||
"elixir_version": [
|
"elixir_version": [
|
||||||
|
"1.13.1",
|
||||||
"1.12.3",
|
"1.12.3",
|
||||||
"1.11.4"
|
"1.11.4"
|
||||||
],
|
],
|
||||||
|
@ -13,23 +14,5 @@
|
||||||
],
|
],
|
||||||
"os": [
|
"os": [
|
||||||
"ubuntu-18.04"
|
"ubuntu-18.04"
|
||||||
],
|
|
||||||
"include": [
|
|
||||||
{
|
|
||||||
"otp_version": "21.3.8.24",
|
|
||||||
"elixir_version": "1.10.4",
|
|
||||||
"rebar3_version": "3.15.2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"otp_version": "21.3.8.24",
|
|
||||||
"elixir_version": "1.11.4",
|
|
||||||
"rebar3_version": "3.15.2"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"exclude": [
|
|
||||||
{
|
|
||||||
"otp_version": "21.3.8.24",
|
|
||||||
"elixir_version": "1.12.3"
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,19 +1,13 @@
|
||||||
{
|
{
|
||||||
"otp_version": [
|
"otp_version": [
|
||||||
"24.0.6",
|
"24.2",
|
||||||
"23.3.4.7",
|
"23.3.4.10",
|
||||||
"22.3.4.21"
|
"22.3.4.24"
|
||||||
],
|
],
|
||||||
"rebar3_version": [
|
"rebar3_version": [
|
||||||
"3.16.1"
|
"3.16.1"
|
||||||
],
|
],
|
||||||
"os": [
|
"os": [
|
||||||
"ubuntu-18.04"
|
"ubuntu-18.04"
|
||||||
],
|
|
||||||
"include": [
|
|
||||||
{
|
|
||||||
"otp_version": "21.3.8.24",
|
|
||||||
"rebar3_version": "3.15.2"
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,7 @@ jobs:
|
||||||
- name: Read file
|
- name: Read file
|
||||||
id: set-matrix
|
id: set-matrix
|
||||||
run: |
|
run: |
|
||||||
matrixStringifiedObject="{\"otp_version\":[\"24.0.6\",\"23.3.4.7\",\"22.3.4.21\"],\"elixir_version\":[\"1.12.3\",\"1.11.4\"],\"rebar3_version\":[\"3.16.1\"],\"os\":[\"ubuntu-18.04\"],\"include\":[{\"otp_version\":\"21.3.8.24\",\"elixir_version\":\"1.10.4\",\"rebar3_version\":\"3.15.2\"},{\"otp_version\":\"21.3.8.24\",\"elixir_version\":\"1.11.4\",\"rebar3_version\":\"3.15.2\"}],\"exclude\":[{\"otp_version\":\"21.3.8.24\",\"elixir_version\":\"1.12.3\"}]}"
|
matrixStringifiedObject="{\"otp_version\":[\"24.2\",\"23.3.4.10\",\"22.3.4.24\"],\"elixir_version\":[\"1.13.1\",\"1.12.3\",\"1.11.4\"],\"rebar3_version\":[\"3.16.1\"],\"os\":[\"ubuntu-18.04\"]}"
|
||||||
echo "::set-output name=matrix::$matrixStringifiedObject"
|
echo "::set-output name=matrix::$matrixStringifiedObject"
|
||||||
opentelemetry-ecto:
|
opentelemetry-ecto:
|
||||||
needs: [test-matrix]
|
needs: [test-matrix]
|
||||||
|
@ -55,9 +55,9 @@ jobs:
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
instrumentation/${{ env.app }}/deps
|
~/deps
|
||||||
instrumentation/${{ env.app }}/_build
|
~/_build
|
||||||
key: ${{ runner.os }}-build-${{ matrix.otp_version }}-${{ matrix.elixir_version }}-v3-${{ hashFiles(format('{0}{1}', github.workspace, 'instrumentation/${{ env.app }}/mix.lock')) }}
|
key: ${{ runner.os }}-build-${{ matrix.otp_version }}-${{ matrix.elixir_version }}-v3-${{ hashFiles('**/mix.lock') }}
|
||||||
- name: Fetch deps
|
- name: Fetch deps
|
||||||
if: steps.deps-cache.outputs.cache-hit != 'true'
|
if: steps.deps-cache.outputs.cache-hit != 'true'
|
||||||
run: mix deps.get
|
run: mix deps.get
|
||||||
|
@ -92,9 +92,9 @@ jobs:
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
instrumentation/${{ env.app }}/deps
|
~/deps
|
||||||
instrumentation/${{ env.app }}/_build
|
~/_build
|
||||||
key: ${{ runner.os }}-build-${{ matrix.otp_version }}-${{ matrix.elixir_version }}-v3-${{ hashFiles(format('{0}{1}', github.workspace, 'instrumentation/${{ env.app }}/mix.lock')) }}
|
key: ${{ runner.os }}-build-${{ matrix.otp_version }}-${{ matrix.elixir_version }}-v3-${{ hashFiles('**/mix.lock') }}
|
||||||
- name: Fetch deps
|
- name: Fetch deps
|
||||||
if: steps.deps-cache.outputs.cache-hit != 'true'
|
if: steps.deps-cache.outputs.cache-hit != 'true'
|
||||||
run: mix deps.get
|
run: mix deps.get
|
||||||
|
@ -129,9 +129,9 @@ jobs:
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
utilities/${{ env.app }}/deps
|
~/deps
|
||||||
utilities/${{ env.app }}/_build
|
~/_build
|
||||||
key: ${{ runner.os }}-build-${{ matrix.otp_version }}-${{ matrix.elixir_version }}-v3-${{ hashFiles(format('{0}{1}', github.workspace, 'utilities/${{ env.app }}/mix.lock')) }}
|
key: ${{ runner.os }}-build-${{ matrix.otp_version }}-${{ matrix.elixir_version }}-v3-${{ hashFiles('**/mix.lock') }}
|
||||||
- name: Fetch deps
|
- name: Fetch deps
|
||||||
if: steps.deps-cache.outputs.cache-hit != 'true'
|
if: steps.deps-cache.outputs.cache-hit != 'true'
|
||||||
run: mix deps.get
|
run: mix deps.get
|
||||||
|
@ -175,9 +175,9 @@ jobs:
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
instrumentation/${{ env.app }}/deps
|
~/deps
|
||||||
instrumentation/${{ env.app }}/_build
|
~/_build
|
||||||
key: ${{ runner.os }}-build-${{ matrix.otp_version }}-${{ matrix.elixir_version }}-v3-${{ hashFiles(format('{0}{1}', github.workspace, 'instrumentation/${{ env.app }}/mix.lock')) }}
|
key: ${{ runner.os }}-build-${{ matrix.otp_version }}-${{ matrix.elixir_version }}-v3-${{ hashFiles('**/mix.lock') }}
|
||||||
- name: Fetch deps
|
- name: Fetch deps
|
||||||
if: steps.deps-cache.outputs.cache-hit != 'true'
|
if: steps.deps-cache.outputs.cache-hit != 'true'
|
||||||
run: mix deps.get
|
run: mix deps.get
|
||||||
|
|
|
@ -19,7 +19,7 @@ jobs:
|
||||||
- name: Read file
|
- name: Read file
|
||||||
id: set-matrix
|
id: set-matrix
|
||||||
run: |
|
run: |
|
||||||
matrixStringifiedObject="{\"otp_version\":[\"24.0.6\",\"23.3.4.7\",\"22.3.4.21\"],\"rebar3_version\":[\"3.16.1\"],\"os\":[\"ubuntu-18.04\"],\"include\":[{\"otp_version\":\"21.3.8.24\",\"rebar3_version\":\"3.15.2\"}]}"
|
matrixStringifiedObject="{\"otp_version\":[\"24.2\",\"23.3.4.10\",\"22.3.4.24\"],\"rebar3_version\":[\"3.16.1\"],\"os\":[\"ubuntu-18.04\"]}"
|
||||||
echo "::set-output name=matrix::$matrixStringifiedObject"
|
echo "::set-output name=matrix::$matrixStringifiedObject"
|
||||||
opentelemetry-cowboy:
|
opentelemetry-cowboy:
|
||||||
needs: [test-matrix]
|
needs: [test-matrix]
|
||||||
|
@ -44,8 +44,8 @@ jobs:
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ env.app }}/_build
|
~/_build
|
||||||
key: ${{ runner.os }}-build-${{ matrix.otp_version }}-${{ matrix.rebar3_version }}-v3-${{ hashFiles(format('{0}{1}', github.workspace, 'instrumentation/${{ env.app }}/rebar.lock')) }}
|
key: ${{ runner.os }}-build-${{ matrix.otp_version }}-${{ matrix.rebar3_version }}-v3-${{ hashFiles('**/rebar.lock') }}
|
||||||
- name: Fetch deps
|
- name: Fetch deps
|
||||||
if: steps.deps-cache.outputs.cache-hit != 'true'
|
if: steps.deps-cache.outputs.cache-hit != 'true'
|
||||||
run: rebar3 get-deps
|
run: rebar3 get-deps
|
||||||
|
@ -75,8 +75,8 @@ jobs:
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ env.app }}/_build
|
~/_build
|
||||||
key: ${{ runner.os }}-build-${{ matrix.otp_version }}-${{ matrix.rebar3_version }}-v3-${{ hashFiles(format('{0}{1}', github.workspace, 'utilities/${{ env.app }}/rebar.lock')) }}
|
key: ${{ runner.os }}-build-${{ matrix.otp_version }}-${{ matrix.rebar3_version }}-v3-${{ hashFiles('**/rebar.lock') }}
|
||||||
- name: Fetch deps
|
- name: Fetch deps
|
||||||
if: steps.deps-cache.outputs.cache-hit != 'true'
|
if: steps.deps-cache.outputs.cache-hit != 'true'
|
||||||
run: rebar3 get-deps
|
run: rebar3 get-deps
|
||||||
|
|
Loading…
Reference in New Issue