Skip to content

Commit

Permalink
CI: remove hardcoded blend lockfile, include blend in job name
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoefmoraes committed Sep 12, 2024
1 parent 3bded0c commit 9249982
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ on:

jobs:
mix_test:
name: mix test (Elixir ${{matrix.elixir}} | Erlang/OTP ${{matrix.otp}})
name: mix test (matrix.blend && 'Blend ${{matrix.blend}} | Elixir ${{matrix.elixir}} | Erlang/OTP ${{matrix.otp}}' || 'Elixir ${{matrix.elixir}} | Erlang/OTP ${{matrix.otp}}')
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- elixir: '1.13.4'
otp: '24.0'
blend: lowest
blend: 'lowest'
- elixir: '1.13.4'
otp: '25.0'
- elixir: '1.14.0'
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
path: |
blend/_build/${{matrix.blend}}
blend/deps/${{matrix.blend}}
key: ${{ runner.os }}-${{ runner.arch }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('blend/lowest.mix.lock') }}
key: ${{ runner.os }}-${{ runner.arch }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles(format('blend/{0}.mix.lock', matrix.blend)) }}
- name: Install Dependencies
if: steps.deps-cache.outputs.cache-hit != 'true' || steps.blend-deps-cache.outputs.cache-hit != 'true'
run: |
Expand Down

0 comments on commit 9249982

Please sign in to comment.