Fix GitHub Action gleam setup error
Replace deprecated gleam-lang/setup-gleam@v1 with erlef/setup-beam which supports Gleam alongside Elixir and Erlang. This consolidates setup steps and uses the actively maintained action. The previous gleam-lang/setup-gleam action is deprecated and v1 tag doesn't exist, causing CI failures. erlef/setup-beam is the recommended replacement. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
cf78298f46
commit
746db1a4c2
1 changed files with 3 additions and 8 deletions
11
.github/workflows/elixir.yaml
vendored
11
.github/workflows/elixir.yaml
vendored
|
|
@ -48,23 +48,18 @@ jobs:
|
|||
otp: ["27.3.4"]
|
||||
elixir: ["1.18.4"]
|
||||
steps:
|
||||
# Step: Setup Elixir + Erlang image as the base.
|
||||
- name: Set up Elixir
|
||||
# Step: Setup Elixir + Erlang + Gleam using erlef/setup-beam
|
||||
- name: Set up Elixir, Erlang, and Gleam
|
||||
uses: erlef/setup-beam@v1
|
||||
with:
|
||||
otp-version: ${{matrix.otp}}
|
||||
elixir-version: ${{matrix.elixir}}
|
||||
gleam-version: "1.5.1"
|
||||
|
||||
# Step: Check out the code.
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# Step: Install Gleam
|
||||
- name: Set up Gleam
|
||||
uses: gleam-lang/setup-gleam@v1
|
||||
with:
|
||||
gleam-version: "1.5.1"
|
||||
|
||||
# Step: Install mix_gleam archive
|
||||
- name: Install mix_gleam
|
||||
run: mix archive.install hex mix_gleam 0.6.2 --force
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue