Skip to content

Conversation

@kianmeng
Copy link
Contributor

List of changes:

  • bump actions/checkout to v4
  • bump deps, see https://hex.pm/l/PKT1e
  • mix format
  • refactor CI to run jobs at min/max Erlang/OTP and Elixir

List of changes:
- bump actions/checkout to v4
- bump deps, see https://hex.pm/l/PKT1e
- mix format
- refactor CI to run jobs at min/max Erlang/OTP and Elixir
@@ -1,19 +1,14 @@
%{
"cowboy": {:hex, :cowboy, "1.0.4", "a324a8df9f2316c833a470d918aaf73ae894278b8aa6226ce7a9bf699388f878", [:make, :rebar], [{:cowlib, "~> 1.0.0", [hex: :cowlib, optional: false]}, {:ranch, "~> 1.0", [hex: :ranch, optional: false]}]},
Copy link
Contributor Author

@kianmeng kianmeng Nov 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Run mix deps.unlock --check-unused
** (Mix) Unused dependencies in mix.lock file:

  * :cowboy
  * :cowlib
  * :earmark
  * :fs
  * :ranch

Error: Process completed with exit code 1.

${{ runner.os }}-mix-
- run: mix deps.get

- run: mix format --check-formatted
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$ mix format --check-formatted
** (Mix) mix format failed due to --check-formatted.
The following files are not formatted:

/tmp/cors_plug/lib/cors_plug.ex

         |
 29  29  |  @doc false
 30  30  |  def call(conn, options) do
 31     -|    case {options[:send_preflight_response?], conn.method, get_req_header(conn, "access-control-request-method")} do
     31 +|    case {options[:send_preflight_response?], conn.method,
     32 +|          get_req_header(conn, "access-control-request-method")} do
 32  33  |      # Not a CORS preflight request
 33  34  |      {_, "OPTIONS", []} ->

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant