feat: upgrade runtimes (#154)
All checks were successful
continuous-integration/drone/push Build is passing

The following changes were made:

* Upgrade `lefthook` from 1.11.2 to 1.11.3
* Sync `elixir` version in `Dockerfile` and `drone.yml` (from 1.18.3 to 1.18.4)
* Upgrade `debian` version in `Dockerfile` and `drone.yml` (from 20250428 to 20250520)
* Upgrade transitive dependencies:
   * `castore` from 1.0.12 to 1.0.14
   * `mime` from 2.0.6 to 2.0.7
   * `phoenix_live_view` from 1.0.11 to 1.0.12
* Add `Dockerfile` to the CI cache key.
  This is needed because the `.tool-versions` runtime versions aren't in sync with the `Dockerfile` and `drone.yml` versions.

Reviewed-on: #154
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
This commit is contained in:
2025-05-22 17:23:37 +00:00
committed by João Paulo Dubas
parent 0ee1a5b76c
commit 541d29ae77
4 changed files with 9 additions and 9 deletions

View File

@@ -29,7 +29,7 @@ steps:
settings:
archive_format: gzip
bucket: trainlog-cache
cache_key: '{{ .Repo.Name }}-{{ checksum ".tool-versions" }}-{{ checksum "mix.lock" }}'
cache_key: '{{ .Repo.Name }}-{{ checksum ".tool-versions" }}-{{ checksum "mix.lock" }}-{{ checksum "Dockerfile" }}'
endpoint: minio:9000
mount:
- _build
@@ -44,7 +44,7 @@ steps:
path: /drone/src/deps
- name: dependencies and compile
image: &elixir 'hexpm/elixir:1.18.3-erlang-27.3.4-debian-bookworm-20250428-slim'
image: &elixir 'hexpm/elixir:1.18.4-erlang-27.3.4-debian-bookworm-20250520-slim'
commands:
- apt-get update
- apt-get install -y git make
@@ -139,7 +139,7 @@ steps:
settings:
archive_format: gzip
bucket: trainlog-cache
cache_key: '{{ .Repo.Name }}-{{ checksum ".tool-versions" }}-{{ checksum "mix.lock" }}'
cache_key: '{{ .Repo.Name }}-{{ checksum ".tool-versions" }}-{{ checksum "mix.lock" }}-{{ checksum "Dockerfile" }}'
endpoint: minio:9000
exit_code: true
mount: