From 746db1a4c247ef55e1c117abb46617d072b2d86d Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Mon, 21 Jul 2025 08:34:10 -0500 Subject: [PATCH] Fix GitHub Action gleam setup error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .github/workflows/elixir.yaml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/elixir.yaml b/.github/workflows/elixir.yaml index c7b712e..88337b0 100644 --- a/.github/workflows/elixir.yaml +++ b/.github/workflows/elixir.yaml @@ -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