From 9838cd99c98ec4984f90981eff5b5d41e4908e15 Mon Sep 17 00:00:00 2001 From: Jamil Date: Mon, 3 Feb 2025 13:46:00 -0800 Subject: [PATCH] chore(portal): Bump erlang to 27.2.1 (#8008) In preparation for upgrading to Elixir 1.18. --- .github/workflows/_elixir.yml | 4 ++-- .tool-versions | 2 +- elixir/Dockerfile | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/_elixir.yml b/.github/workflows/_elixir.yml index a8687faf1..1783a75ba 100644 --- a/.github/workflows/_elixir.yml +++ b/.github/workflows/_elixir.yml @@ -75,10 +75,10 @@ jobs: id: plt_cache with: path: elixir/priv/plts - key: dialyzer-ubuntu-22.04-${{ runner.arch }}-${{ steps.setup-beam.outputs.elixir-version }}-${{ hashFiles('elixir/mix.lock') }} + key: dialyzer-ubuntu-22.04-${{ runner.arch }}-${{ steps.setup-beam.outputs.elixir-version }}-${{ steps.setup-beam.outputs.erlang-version }}-${{ hashFiles('elixir/mix.lock') }} # This will make sure that we can incrementally build the PLT from older cache and save it under a new key restore-keys: | - dialyzer-ubuntu-22.04-${{ runner.arch }}-${{ steps.setup-beam.outputs.elixir-version }}- + dialyzer-ubuntu-22.04-${{ runner.arch }}-${{ steps.setup-beam.outputs.elixir-version }}-${{ steps.setup-beam.outputs.erlang-version }}- - name: Create PLTs if: ${{ steps.plt_cache.outputs.cache-hit != 'true' }} run: mix dialyzer --plt diff --git a/.tool-versions b/.tool-versions index aec2fb1ec..4624a3f38 100644 --- a/.tool-versions +++ b/.tool-versions @@ -2,7 +2,7 @@ # This should match the versions used in the built product. nodejs 20.14.0 elixir 1.17.2-otp-27 -erlang 27.0.1 +erlang 27.2.1 terraform 1.10.4 # Used for static analysis diff --git a/elixir/Dockerfile b/elixir/Dockerfile index 85fbc893d..43fa43f23 100644 --- a/elixir/Dockerfile +++ b/elixir/Dockerfile @@ -1,6 +1,6 @@ ARG ALPINE_VERSION="3.20.2" -ARG ERLANG_VERSION="27.0.1" -ARG ERLANG_DOWNLOAD_SHA256="26d894e2f0dda9d13560af08ea589afc01569df6b5486e565beb5accb99c9cf4" +ARG ERLANG_VERSION="27.2.1" +ARG ERLANG_DOWNLOAD_SHA256="07982134e10637dde57cf9cdc6dda6f65425810229986136d184766d4db9eda3" ARG ELIXIR_VERSION="1.17.2" ARG ELIXIR_DOWNLOAD_SHA256="7bb8e6414b77c1707f39f620a2ad54f68d64846d663ec78069536854247fb1ab"