From 7e9e2e16979cfc5b8cf5050f01331f1ae2396b2e Mon Sep 17 00:00:00 2001 From: Malte Rohde Date: Sun, 18 Jan 2026 17:22:32 +0100 Subject: [PATCH] Require Elixir 1.12 to fix CI Somehow `nimble_parsec` as used in CI caches now requires Elixir 1.12, see https://github.com/bitcrowd/chromic_pdf/actions/runs/21062165943/job/60570795274?pr=345 It's also already been almost 5 years since Elixir 1.12 so I think we're fine to update our minimum Elixir version now. --- .github/docker/Dockerfile_elixir-1-11 | 40 --------------------------- .github/workflows/publish-image.yml | 2 +- .github/workflows/test.yaml | 2 +- README.md | 1 - mix.exs | 2 +- 5 files changed, 3 insertions(+), 44 deletions(-) delete mode 100644 .github/docker/Dockerfile_elixir-1-11 diff --git a/.github/docker/Dockerfile_elixir-1-11 b/.github/docker/Dockerfile_elixir-1-11 deleted file mode 100644 index d06372e..0000000 --- a/.github/docker/Dockerfile_elixir-1-11 +++ /dev/null @@ -1,40 +0,0 @@ -FROM hexpm/elixir:1.11.4-erlang-22.3.4.26-debian-buster-20210902 - -USER root - -RUN apt-get update \ - && apt-get install -y --no-install-recommends \ - chromium \ - chromium-sandbox \ - ghostscript \ - # for verapdf & ZUV - openjdk-11-jre \ - # for pdftotext & friends - poppler-utils \ - # for identifying images - imagemagick \ - # for 'kill' - procps \ - # temporary for installation below - wget \ - unzip - -RUN mkdir /opt/verapdf -WORKDIR /opt/verapdf -RUN wget http://downloads.verapdf.org/rel/verapdf-installer.zip \ - && unzip verapdf-installer.zip \ - && mv verapdf-greenfield* verapdf-greenfield \ - && chmod +x verapdf-greenfield/verapdf-install -COPY .github/docker/auto-install.xml /opt/verapdf/verapdf-greenfield -RUN ./verapdf-greenfield/verapdf-install auto-install.xml - -WORKDIR /opt/zuv -RUN wget https://github.com/ZUGFeRD/ZUV/releases/download/v0.8.3/ZUV-0.8.3.jar -ENV ZUV_JAR /opt/zuv/ZUV-0.8.3.jar - -RUN apt-get remove -y \ - wget \ - unzip \ - && apt-get autoremove -y \ - && rm -rf /var/lib/apt/lists/* - diff --git a/.github/workflows/publish-image.yml b/.github/workflows/publish-image.yml index 3f9c00b..3532c8a 100644 --- a/.github/workflows/publish-image.yml +++ b/.github/workflows/publish-image.yml @@ -31,7 +31,7 @@ jobs: packages: write strategy: matrix: - dockerfile: ['elixir-1-11', 'debian-buster', 'alpine-3-17-3', 'alpine-3-18-4'] + dockerfile: ['debian-buster', 'alpine-3-17-3', 'alpine-3-18-4'] steps: - name: Checkout repository diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4a88012..9f597a3 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -5,7 +5,7 @@ jobs: name: ${{ matrix.tag }} strategy: matrix: - tag: ['elixir-1-11', 'debian-buster', 'alpine-3-17-3', 'alpine-3-18-4'] + tag: ['debian-buster', 'alpine-3-17-3', 'alpine-3-18-4'] env: MIX_ENV: test runs-on: ubuntu-latest diff --git a/README.md b/README.md index 24f7b8b..ccf5d73 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,6 @@ ChromicPDF is tested in the following configurations: | 1.15.7 | 26.2 | Alpine 3.18 | 119.0.6045.159 | 10.02.0 | | 1.14.5 | 25.3.1 | Alpine 3.17 | 112.0.5615.165 | 10.01.1 | | 1.14.0 | 25.1 | Debian Buster | 90.0.4430.212-1 | 9.27 | -| 1.11.4 | 22.3.4.26 | Debian Buster | 90.0.4430.212-1 | 9.27 | ## Installation diff --git a/mix.exs b/mix.exs index aa1765b..738a573 100644 --- a/mix.exs +++ b/mix.exs @@ -10,7 +10,7 @@ defmodule ChromicPdf.MixProject do [ app: :chromic_pdf, version: @version, - elixir: "~> 1.11", + elixir: "~> 1.12", start_permanent: Mix.env() == :prod, dialyzer: [ plt_add_apps: [:ex_unit, :mix, :websockex, :inets, :phoenix_html, :plug, :plug_crypto],