Add Elixir 1.10 to matrix
This commit is contained in:
parent
3993c798c0
commit
e38e05bc4b
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
|
@ -12,10 +12,10 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
otp: [21.x]
|
||||
elixir: [1.7.x, 1.8.x, 1.9.x]
|
||||
elixir: [1.7.x, 1.8.x, 1.9.x, 1.10.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-elixir@v1.0.0
|
||||
with:
|
||||
otp-version: ${{matrix.otp}}
|
||||
|
@ -24,7 +24,7 @@ jobs:
|
|||
id: cache
|
||||
with:
|
||||
path: deps
|
||||
key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
|
||||
key: ${{ runner.os }}-${{ matrix.elixir }}-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-mix-
|
||||
|
||||
|
@ -37,19 +37,19 @@ jobs:
|
|||
|
||||
formatter:
|
||||
runs-on: ubuntu-latest
|
||||
name: Formatter (1.9.x/21.x)
|
||||
name: Formatter (1.10.x/21.x)
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-elixir@v1.0.0
|
||||
with:
|
||||
otp-version: 21.x
|
||||
elixir-version: 1.9.x
|
||||
elixir-version: 1.10.x
|
||||
- uses: actions/cache@v1
|
||||
id: cache
|
||||
with:
|
||||
path: deps
|
||||
key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
|
||||
key: ${{ runner.os }}-${{ matrix.elixir }}-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-mix-
|
||||
|
||||
|
@ -59,4 +59,3 @@ jobs:
|
|||
|
||||
- name: Run Formatter
|
||||
run: mix format --check-formatted
|
||||
|
||||
|
|
Reference in a new issue