From 160c55ea48a5d37aa0f8ba89c771395e3713becb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=20Meadows-J=C3=B6nsson?= Date: Mon, 16 Nov 2026 21:49:15 +0100 Subject: [PATCH] Run the OTP 24.3 CI job on Ubuntu 24.04 ubuntu-latest now resolves to Ubuntu 26.04, and builds.hex.pm only has OTP 26 and later for that image, so erlef/setup-beam fails to install OTP 24.3 and the oldest-version job fails before running anything. builds.hex.pm has OTP 24.3.4 builds for Ubuntu 24.04, so that job now runs there and the other jobs stay on ubuntu-latest. --- .github/workflows/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0149e8ab..944b66b3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,7 @@ on: jobs: test: name: Test (Elixir ${{ matrix.elixir }}, OTP ${{ matrix.erlang }}) - runs-on: ubuntu-latest + runs-on: ${{ matrix.os || 'ubuntu-latest' }} strategy: fail-fast: false matrix: @@ -22,9 +22,11 @@ jobs: # One version down. - erlang: "28.1" elixir: "1.19" - # Oldest version. + # Oldest version. builds.hex.pm has no OTP 24 builds for the + # Ubuntu image ubuntu-latest points to. - erlang: "24.3" elixir: "1.15.8" + os: ubuntu-24.04 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}