Skip to content

Commit c079d7b

Browse files
committed
fix(ci): hardcode job names (env context not allowed in job name)
The ${{ env.ELIXIR_VERSION }} expression in the job 'name:' field caused GitHub to reject the workflow entirely (failed in 0 seconds, 'workflow file issue'). Per the GitHub Actions docs, the 'env' context is not available in job 'name:' fields. Hardcoded the Elixir version and OTP version into the job names. The actual versions are still in env: block and used by the setup-beam action.
1 parent addd903 commit c079d7b

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ env:
2020
jobs:
2121
# ── Linux: full CI quality gate ─────────────────────────────────────
2222
linux:
23-
name: Linux · Elixir ${{ env.ELIXIR_VERSION }} · OTP ${{ env.OTP_VERSION }}
23+
name: "Linux · Elixir 1.20.1 · OTP 29.0"
2424
runs-on: ubuntu-latest
2525
timeout-minutes: 20
2626
steps:
@@ -67,7 +67,6 @@ jobs:
6767

6868
- name: Dialyzer
6969
run: mix ci.dialyzer
70-
# Dialyzer is slow — give it a wider window
7170
timeout-minutes: 15
7271

7372
- name: Run tests with coverage
@@ -92,7 +91,7 @@ jobs:
9291

9392
# ── macOS: smoke test (the CLI is cross-compiled via Burrito) ──────
9493
macos:
95-
name: macOS · Elixir ${{ env.ELIXIR_VERSION }}
94+
name: "macOS · Elixir 1.20.1"
9695
runs-on: macos-latest
9796
timeout-minutes: 15
9897
steps:

0 commit comments

Comments
 (0)