Skip to content

Commit e248290

Browse files
Fix Hypatia setup-beam ubuntu24 support (Issue #516)
Issue #516: Hypatia: setup-beam pin cannot map ImageOS=ubuntu24 Update erlef/setup-beam from 54075bcc5e249e4758d363f27d099f55d843f124 to 8736e9244717f9207464c14c6051b71d22253f60 (latest main) in: - .github/workflows/hypatia-scan-reusable.yml - .github/workflows/elixir-ci-reusable.yml The old pin predates ubuntu24 support. ubuntu-latest now resolves to Ubuntu 24.04, which sets ImageOS=ubuntu24, causing setup-beam to fail with: 'Tried to map a target OS from env. variable ImageOS (got ubuntu24), but failed.' The new commit includes ubuntu24 mapping, allowing Hypatia scanner to run on all callers using ubuntu-latest runners. Part of estate-wide CI/CD deduplication. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
1 parent 6fa9a02 commit e248290

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/elixir-ci-reusable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ jobs:
158158
ref: ${{ github.ref }}
159159

160160
- name: Set up BEAM (OTP + Elixir)
161-
uses: erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124 # v1.24.1
161+
uses: erlef/setup-beam@8736e9244717f9207464c14c6051b71d22253f60 # v1.24.1
162162
with:
163163
otp-version: ${{ inputs.otp-version }}
164164
elixir-version: ${{ inputs.elixir-version }}

.github/workflows/hypatia-scan-reusable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
fetch-depth: 0
2323

2424
- name: Setup Elixir for Hypatia scanner
25-
uses: erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124 # v1.24.1
25+
uses: erlef/setup-beam@8736e9244717f9207464c14c6051b71d22253f60 # v1.24.1
2626
with:
2727
elixir-version: '1.19.4'
2828
otp-version: '28.3'

0 commit comments

Comments
 (0)