From 717c11e649fb5649e3349ac99c7be150843df1f5 Mon Sep 17 00:00:00 2001 From: ruslandoga <67764432+ruslandoga@users.noreply.github.com> Date: Wed, 19 Jun 2024 17:30:39 +0700 Subject: [PATCH 1/2] unnest endpoint_opts in tests to fix some ci failures --- test/site_encrypt_test.exs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/test/site_encrypt_test.exs b/test/site_encrypt_test.exs index 48d0174..652586a 100644 --- a/test/site_encrypt_test.exs +++ b/test/site_encrypt_test.exs @@ -30,12 +30,10 @@ for {input, index} <- Enum.with_index(inputs), setup_all do start_supervised!({ TestEndpoint, - endpoint_opts: [ - adapter: unquote(input.adapter), - http: [port: unquote(http_port)], - https: [port: unquote(https_port)], - url: [scheme: "https", host: "localhost", port: unquote(https_port)] - ] + adapter: unquote(input.adapter), + http: [port: unquote(http_port)], + https: [port: unquote(https_port)], + url: [scheme: "https", host: "localhost", port: unquote(https_port)] }) :ok From 9869f9f45a6d581bb913bc5ccd4ce75864e670f9 Mon Sep 17 00:00:00 2001 From: ruslandoga <67764432+ruslandoga@users.noreply.github.com> Date: Wed, 19 Jun 2024 17:48:56 +0700 Subject: [PATCH 2/2] update asdf versions and fix dialyzer --- .github/workflows/site_encrypt.yaml | 2 +- .tool-versions | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/site_encrypt.yaml b/.github/workflows/site_encrypt.yaml index ba2f3e4..ff005a7 100644 --- a/.github/workflows/site_encrypt.yaml +++ b/.github/workflows/site_encrypt.yaml @@ -15,7 +15,7 @@ jobs: - uses: erlef/setup-elixir@v1 with: otp-version: 27.0 - elixir-version: 1.17.0 + elixir-version: 1.17.1 - name: Restore cached deps uses: actions/cache@v1 diff --git a/.tool-versions b/.tool-versions index 9ec844e..960884c 100755 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -erlang 26.0 -elixir 1.16-otp-26 +erlang 27.0 +elixir 1.17.1-otp-27