diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bcf3cb18..05a636d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ env: ELIXIR_VERSION: 1.10.4 # Elixir version used during package publishing JOB_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} OTP_VERSION: 22.3.4.7 # OTP version used during package publishing - RELEVANT_FILES: "mix.lock mix.exs lib priv config test" # Important, this controls the caching, make sure to keep this right + RELEVANT_FILES: "benchmark config examples interop lib priv src test mix.exs mix.lock" # Important, this controls the caching, make sure to keep this right REPOSITORY: grpc RUNNER_OS: ubuntu20 # Must match Elixir/OTP version in described in action erlef/setup-beam@v1 SHA: ${{ github.sha }} diff --git a/.github/workflows/dev-publish.yaml b/.github/workflows/dev-publish.yaml index ce8c8eb3..0e6551b9 100644 --- a/.github/workflows/dev-publish.yaml +++ b/.github/workflows/dev-publish.yaml @@ -6,7 +6,7 @@ env: ELIXIR_VERSION: 1.11.4 # Elixir version used during package publishing JOB_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} OTP_VERSION: 23.3.4.7 # OTP version used during package publishing - RELEVANT_FILES: "mix.lock mix.exs lib priv config test" # Important, this controls the caching, make sure to keep this right + RELEVANT_FILES: "benchmark config examples interop lib priv src test mix.exs mix.lock" # Important, this controls the caching, make sure to keep this right REPOSITORY: grpc RUNNER_OS: ubuntu20 # Must match Elixir/OTP version in described in action erlef/setup-beam@v1 SHA: ${{ github.sha }} diff --git a/examples/route_guide/lib/client.ex b/examples/route_guide/lib/client.ex index 5d33f4ba..150a751b 100644 --- a/examples/route_guide/lib/client.ex +++ b/examples/route_guide/lib/client.ex @@ -89,7 +89,9 @@ defmodule RouteGuide.Client do Enum.each(result_enum, fn {:ok, note} -> IO.puts( - "Got message #{note.message} at point(#{note.location.latitude}, #{note.location.longitude})" + "Got message #{note.message} at point(#{note.location.latitude}, #{ + note.location.longitude + })" ) end) end diff --git a/lib/grpc/adapter/cowboy/handler.ex b/lib/grpc/adapter/cowboy/handler.ex index 8ccb4e3c..b0ee22df 100644 --- a/lib/grpc/adapter/cowboy/handler.ex +++ b/lib/grpc/adapter/cowboy/handler.ex @@ -249,7 +249,9 @@ defmodule GRPC.Adapter.Cowboy.Handler do if compressor && !Enum.member?(accepted_encodings, compressor.name()) do msg = - "A unaccepted encoding #{compressor.name()} is set, valid are: #{:cowboy_req.header("grpc-accept-encoding", req)}" + "A unaccepted encoding #{compressor.name()} is set, valid are: #{ + :cowboy_req.header("grpc-accept-encoding", req) + }" req = send_error(req, state, msg) {:stop, req, state}