From 39fd238ed8025014c115443b093e9ee4e824a84f Mon Sep 17 00:00:00 2001
From: Joao P Dubas <joao.dubas+gitea@gmail.com>
Date: Fri, 12 Jul 2024 11:12:50 +0000
Subject: [PATCH] feat: upgrade erlang and deps (#87)

* Upgrade erlang to 27.0.1
* Upgrade abisnthe to 1.7.7

Reviewed-on: https://gitea.dubas.dev/joao.dubas/ex_trainer/pulls/87
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
---
 .drone.yml     | 2 +-
 .tool-versions | 2 +-
 Dockerfile     | 2 +-
 mix.exs        | 5 +----
 mix.lock       | 2 +-
 5 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/.drone.yml b/.drone.yml
index a3aacfe..9e45503 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -44,7 +44,7 @@ steps:
         path: /drone/src/deps
 
   - name: dependencies and compile
-    image: &elixir 'hexpm/elixir:1.17.2-erlang-27.0-debian-bookworm-20240701-slim'
+    image: &elixir 'hexpm/elixir:1.17.2-erlang-27.0.1-debian-bookworm-20240701-slim'
     commands:
       - apt-get update
       - apt-get install -y git make
diff --git a/.tool-versions b/.tool-versions
index d6b59dd..ce0360e 100644
--- a/.tool-versions
+++ b/.tool-versions
@@ -1,2 +1,2 @@
-erlang 27.0
+erlang 27.0.1
 elixir 1.17.2-otp-27
diff --git a/Dockerfile b/Dockerfile
index e1e44aa..f0578c2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM hexpm/elixir:1.17.2-erlang-27.0-debian-bookworm-20240701-slim AS builder
+FROM hexpm/elixir:1.17.2-erlang-27.0.1-debian-bookworm-20240701-slim AS builder
 
 RUN apt-get update \
   && apt-get -y install git make
diff --git a/mix.exs b/mix.exs
index ea6ce58..f4e0c0f 100644
--- a/mix.exs
+++ b/mix.exs
@@ -29,10 +29,7 @@ defmodule Wabanex.MixProject do
 
   defp deps do
     [
-      {:absinthe,
-       git: "https://github.com/absinthe-graphql/absinthe.git",
-       ref: "358e273a26f3ce7660cd88bf0f6daf4fa51e1689",
-       override: true},
+      {:absinthe, "~> 1.7.0"},
       {:absinthe_plug,
        git: "https://github.com/absinthe-graphql/absinthe_plug.git",
        ref: "3a984cc341ebb32c79e7ae58b4ebd116d5c62f9e"},
diff --git a/mix.lock b/mix.lock
index 2bca7b3..29ec41a 100644
--- a/mix.lock
+++ b/mix.lock
@@ -1,5 +1,5 @@
 %{
-  "absinthe": {:git, "https://github.com/absinthe-graphql/absinthe.git", "358e273a26f3ce7660cd88bf0f6daf4fa51e1689", [ref: "358e273a26f3ce7660cd88bf0f6daf4fa51e1689"]},
+  "absinthe": {:hex, :absinthe, "1.7.7", "ecbf4e9b21372dda271c79bb43dded3583b4f080348c5e68d9b5445e790ff17e", [:mix], [{:dataloader, "~> 1.0.0 or ~> 2.0", [hex: :dataloader, repo: "hexpm", optional: true]}, {:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}, {:nimble_parsec, "~> 1.2.2 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}, {:opentelemetry_process_propagator, "~> 0.2.1 or ~> 0.3", [hex: :opentelemetry_process_propagator, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "2145519828bcb7c8621b72d7af2bcff88b01cba2774583c40ebd867e1d336ff6"},
   "absinthe_plug": {:git, "https://github.com/absinthe-graphql/absinthe_plug.git", "3a984cc341ebb32c79e7ae58b4ebd116d5c62f9e", [ref: "3a984cc341ebb32c79e7ae58b4ebd116d5c62f9e"]},
   "bunt": {:hex, :bunt, "1.0.0", "081c2c665f086849e6d57900292b3a161727ab40431219529f13c4ddcf3e7a44", [:mix], [], "hexpm", "dc5f86aa08a5f6fa6b8096f0735c4e76d54ae5c9fa2c143e5a1fc7c1cd9bb6b5"},
   "castore": {:hex, :castore, "1.0.8", "dedcf20ea746694647f883590b82d9e96014057aff1d44d03ec90f36a5c0dc6e", [:mix], [], "hexpm", "0b2b66d2ee742cb1d9cb8c8be3b43c3a70ee8651f37b75a8b982e036752983f1"},