Skip to content

Commit

Permalink
chore: upgrade elixir, otp and debian #365 (#366)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwittstruck authored Nov 15, 2024
1 parent 10f3b45 commit 0bf6acf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/on_push_branch__execute_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
# Currently, this need to be synced manually with the Dockerfile. In the future, the workflow should be changed,
# so that a development container is built from the Dockerfile, pushed, and then re-used in the following steps.
# This would also remove the need to install cmake manually in each step:
container: hexpm/elixir:1.17.2-erlang-27.0.1-debian-bookworm-20240812-slim
container: hexpm/elixir:1.17.3-erlang-27.1.2-debian-bookworm-20241111-slim

steps:
# See https://github.com/actions/checkout
Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:
# Containers must run in Linux based operating systems
runs-on: ubuntu-latest
# Docker Hub image that `container-job` executes in
container: hexpm/elixir:1.17.2-erlang-27.0.1-debian-bookworm-20240812-slim
container: hexpm/elixir:1.17.3-erlang-27.1.2-debian-bookworm-20241111-slim

needs: build_deps

Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:

check_mix_format:
runs-on: ubuntu-latest
container: hexpm/elixir:1.17.2-erlang-27.0.1-debian-bookworm-20240812-slim
container: hexpm/elixir:1.17.3-erlang-27.1.2-debian-bookworm-20241111-slim

needs: build_deps

Expand All @@ -118,13 +118,16 @@ jobs:

check_mix_sobelow:
runs-on: ubuntu-latest
container: hexpm/elixir:1.17.2-erlang-27.0.1-debian-bookworm-20240812-slim
container: hexpm/elixir:1.17.3-erlang-27.1.2-debian-bookworm-20241111-slim

needs: build_deps

steps:
- name: Check out repository code
uses: actions/checkout@v4

# we need cmake for fast_sanitize:
- run: apt-get -y update && apt-get -y install build-essential cmake

# install hex:
- run: mix local.hex --force && mix local.rebar --force
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
# - https://pkgs.org/ - resource for finding needed packages
# - Ex: hexpm/elixir:1.13.3-erlang-24.3.4.2-debian-bullseye-20210902-slim
#
ARG ELIXIR_VERSION=1.17.2
ARG OTP_VERSION=27.0.1
ARG DEBIAN_VERSION=bookworm-20240812-slim
ARG ELIXIR_VERSION=1.17.3
ARG OTP_VERSION=27.1.2
ARG DEBIAN_VERSION=bookworm-20241111-slim

ARG BUILDER_IMAGE="hexpm/elixir:${ELIXIR_VERSION}-erlang-${OTP_VERSION}-debian-${DEBIAN_VERSION}"
ARG RUNNER_IMAGE="debian:${DEBIAN_VERSION}"
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Qrstorage.MixProject do
def project do
[
app: :qrstorage,
version: "0.4.3",
version: "0.4.6",
elixir: "~> 1.11",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
Expand Down

0 comments on commit 0bf6acf

Please sign in to comment.