From 79e7a84aff7ef64f397c0fdb838952f3a94d5c8d Mon Sep 17 00:00:00 2001 From: Daniel Berkompas Date: Fri, 5 Apr 2024 21:13:45 -0700 Subject: [PATCH 1/2] =?UTF-8?q?=E2=9C=85=20Fix=20build=20on=20SemaphoreCI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .semaphore/semaphore.yml | 6 +++--- mix.exs | 1 + mix.lock | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 35170fe..5d1026f 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -4,7 +4,7 @@ name: "CI Build" agent: machine: type: e1-standard-2 - os_image: ubuntu1804 + os_image: ubuntu2004 auto_cancel: running: @@ -27,9 +27,9 @@ blocks: - name: "Build" matrix: - env_var: ELIXIR_VERSION - values: ["1.12.1", "1.13.4"] + values: ["1.12.1", "1.13.4", "1.16.0"] - env_var: ERLANG_VERSION - values: ["23.3", "24.0"] + values: ["23.3", "24.0", "26.0"] commands: - sem-version erlang $ERLANG_VERSION - sem-version elixir $ELIXIR_VERSION diff --git a/mix.exs b/mix.exs index caa3dd9..699c967 100644 --- a/mix.exs +++ b/mix.exs @@ -32,6 +32,7 @@ defmodule Cloak.Mixfile do [ {:jason, "~> 1.0", optional: true}, {:excoveralls, "~> 0.14", only: :test}, + {:castore, "~> 1.0", only: :test}, {:ex_doc, ">= 0.0.0", only: [:dev, :docs]}, {:inch_ex, "~> 2.0", only: :docs} ] diff --git a/mix.lock b/mix.lock index 93baa53..76657fc 100644 --- a/mix.lock +++ b/mix.lock @@ -1,5 +1,6 @@ %{ "bunt": {:hex, :bunt, "0.2.1", "e2d4792f7bc0ced7583ab54922808919518d0e57ee162901a16a1b6664ef3b14", [:mix], [], "hexpm", "a330bfb4245239787b15005e66ae6845c9cd524a288f0d141c148b02603777a5"}, + "castore": {:hex, :castore, "1.0.6", "ffc42f110ebfdafab0ea159cd43d31365fa0af0ce4a02ecebf1707ae619ee727", [:mix], [], "hexpm", "374c6e7ca752296be3d6780a6d5b922854ffcc74123da90f2f328996b962d33a"}, "certifi": {:hex, :certifi, "2.9.0", "6f2a475689dd47f19fb74334859d460a2dc4e3252a3324bd2111b8f0429e7e21", [:rebar3], [], "hexpm", "266da46bdb06d6c6d35fde799bcb28d36d985d424ad7c08b5bb48f5b5cdd4641"}, "earmark": {:hex, :earmark, "1.4.3", "364ca2e9710f6bff494117dbbd53880d84bebb692dafc3a78eb50aa3183f2bfd", [:mix], [], "hexpm"}, "earmark_parser": {:hex, :earmark_parser, "1.4.39", "424642f8335b05bb9eb611aa1564c148a8ee35c9c8a8bba6e129d51a3e3c6769", [:mix], [], "hexpm", "06553a88d1f1846da9ef066b87b57c6f605552cfbe40d20bd8d59cc6bde41944"}, From a8acd33faeed83e021cebe0b2992135723425eef Mon Sep 17 00:00:00 2001 From: Daniel Berkompas Date: Fri, 5 Apr 2024 21:18:09 -0700 Subject: [PATCH 2/2] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Add=20@version=20varia?= =?UTF-8?q?ble=20to=20mix.exs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mix.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index 699c967..b3a984c 100644 --- a/mix.exs +++ b/mix.exs @@ -2,11 +2,12 @@ defmodule Cloak.Mixfile do use Mix.Project @source_url "https://github.com/danielberkompas/cloak" + @version "1.1.2" def project do [ app: :cloak, - version: "1.1.2", + version: @version, elixir: "~> 1.0", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod,