From 2e95f34ff6773a2da58da7e470827a2e8c5060ce Mon Sep 17 00:00:00 2001 From: Zack Siri Date: Tue, 2 Jul 2024 11:17:36 +0700 Subject: [PATCH 1/5] Update ci action --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d454528..7db94a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,12 +13,12 @@ jobs: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup elixir - uses: actions/setup-elixir@v1 + uses: erlef/setup-beam@v1 with: - elixir-version: 1.12.2 # Define the elixir version [required] - otp-version: 24.0.5 # Define the OTP version [required] + elixir-version: 1.15.7 # Define the elixir version [required] + otp-version: '26' # Define the OTP version [required] experimental-otp: true - name: Install Dependencies run: mix deps.get From 13ef74f5f69bad63e6de4702a57d205db092f963 Mon Sep 17 00:00:00 2001 From: Zack Siri Date: Tue, 2 Jul 2024 11:18:37 +0700 Subject: [PATCH 2/5] Update elixir --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7db94a4..bcb5f2a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: - name: Setup elixir uses: erlef/setup-beam@v1 with: - elixir-version: 1.15.7 # Define the elixir version [required] + elixir-version: 1.15.7-otp-26 # Define the elixir version [required] otp-version: '26' # Define the OTP version [required] experimental-otp: true - name: Install Dependencies From e41d48c9c5620f08e3e0c9f3975a42922b8bef5a Mon Sep 17 00:00:00 2001 From: Zack Siri Date: Tue, 2 Jul 2024 11:23:50 +0700 Subject: [PATCH 3/5] Update x509 --- .github/workflows/ci.yml | 1 - mix.lock | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bcb5f2a..325a548 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,6 @@ jobs: with: elixir-version: 1.15.7-otp-26 # Define the elixir version [required] otp-version: '26' # Define the OTP version [required] - experimental-otp: true - name: Install Dependencies run: mix deps.get - name: Run Tests diff --git a/mix.lock b/mix.lock index cc571bb..22eb485 100644 --- a/mix.lock +++ b/mix.lock @@ -33,5 +33,5 @@ "tesla": {:hex, :tesla, "1.7.0", "a62dda2f80d4f8a925eb7b8c5b78c461e0eb996672719fe1a63b26321a5f8b4e", [:mix], [{:castore, "~> 0.1 or ~> 1.0", [hex: :castore, repo: "hexpm", optional: true]}, {:exjsx, ">= 3.0.0", [hex: :exjsx, repo: "hexpm", optional: true]}, {:finch, "~> 0.13", [hex: :finch, repo: "hexpm", optional: true]}, {:fuse, "~> 2.4", [hex: :fuse, repo: "hexpm", optional: true]}, {:gun, "~> 1.3", [hex: :gun, repo: "hexpm", optional: true]}, {:hackney, "~> 1.6", [hex: :hackney, repo: "hexpm", optional: true]}, {:ibrowse, "4.4.0", [hex: :ibrowse, repo: "hexpm", optional: true]}, {:jason, ">= 1.0.0", [hex: :jason, repo: "hexpm", optional: true]}, {:mime, "~> 1.0 or ~> 2.0", [hex: :mime, repo: "hexpm", optional: false]}, {:mint, "~> 1.0", [hex: :mint, repo: "hexpm", optional: true]}, {:msgpax, "~> 2.3", [hex: :msgpax, repo: "hexpm", optional: true]}, {:poison, ">= 1.0.0", [hex: :poison, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: true]}], "hexpm", "2e64f01ebfdb026209b47bc651a0e65203fcff4ae79c11efb73c4852b00dc313"}, "unicode_util_compat": {:hex, :unicode_util_compat, "0.5.0", "8516502659002cec19e244ebd90d312183064be95025a319a6c7e89f4bccd65b", [:rebar3], [], "hexpm", "d48d002e15f5cc105a696cf2f1bbb3fc72b4b770a184d8420c8db20da2674b38"}, "websockex": {:hex, :websockex, "0.4.3", "92b7905769c79c6480c02daacaca2ddd49de936d912976a4d3c923723b647bf0", [:mix], [], "hexpm", "95f2e7072b85a3a4cc385602d42115b73ce0b74a9121d0d6dbbf557645ac53e4"}, - "x509": {:hex, :x509, "0.8.3", "2306b7e9e9dce35cf16a2608c8d85027fa35f37b33c500b775362bbfd388d224", [:mix], [], "hexpm", "101650f2f35de8528878ae9cd449cb2d0cdcd9974733640ef320fad757594684"}, + "x509": {:hex, :x509, "0.8.9", "03c47e507171507d3d3028d802f48dd575206af2ef00f764a900789dfbe17476", [:mix], [], "hexpm", "ea3fb16a870a199cb2c45908a2c3e89cc934f0434173dc0c828136f878f11661"}, } From dc58efbb1f577c3e7f98d02faa3c4e8f02c74489 Mon Sep 17 00:00:00 2001 From: Zack Siri Date: Tue, 2 Jul 2024 11:25:17 +0700 Subject: [PATCH 4/5] Use config module --- config/config.exs | 2 +- config/dev.exs | 2 +- config/test.exs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/config.exs b/config/config.exs index f4735e3..871a3d1 100644 --- a/config/config.exs +++ b/config/config.exs @@ -1,3 +1,3 @@ -import Mix.Config +import Config import_config "#{Mix.env()}.exs" diff --git a/config/dev.exs b/config/dev.exs index 23fd9f1..becde76 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -1 +1 @@ -import Mix.Config +import Config diff --git a/config/test.exs b/config/test.exs index 30e64c3..96bd45e 100644 --- a/config/test.exs +++ b/config/test.exs @@ -1,4 +1,4 @@ -import Mix.Config +import Config config :lexdee, :environment, :test config :lexdee, :task, Lexdee.TaskMock From 4330909557f7b92dce8c24ad1d596037e82c5825 Mon Sep 17 00:00:00 2001 From: Zack Siri Date: Tue, 2 Jul 2024 11:26:54 +0700 Subject: [PATCH 5/5] Update version --- mix.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index 486b390..ca300e8 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule Lexdee.MixProject do def project do [ app: :lexdee, - version: "2.3.10", + version: "2.3.11", elixir: "~> 1.9", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod,