Compare commits

..

6 Commits

Author SHA1 Message Date
Joao P Dubas
9dce98ca81 chore: add lint step
All checks were successful
continuous-integration/drone/pr Build is passing
In this step we check:

1. format
2. credo
3. dialyzer
2022-04-24 14:14:46 +00:00
Joao P Dubas
fd9d732091 wip: set custom cache key
All checks were successful
continuous-integration/drone/pr Build is passing
2022-04-24 12:33:31 +00:00
Joao P Dubas
1e0388f4bb wip: pin drone-cache version 2022-04-24 12:33:07 +00:00
Joao P Dubas
f8a8b2247f fix: fail silently when restoring cache
All checks were successful
continuous-integration/drone/pr Build is passing
2022-04-24 11:37:28 +00:00
Joao P Dubas
02b1dc55a6 wip: experiment with drone cache
Some checks failed
continuous-integration/drone/pr Build is failing
Try to make builds faster
2022-04-24 11:32:13 +00:00
Joao P Dubas
670da3c0f6 chore: remove github actions
We're sticking with drone for now.
2022-04-24 11:29:12 +00:00
3 changed files with 5 additions and 5 deletions

View File

@ -17,7 +17,7 @@ defmodule WabanexWeb.Schema.Types.Custom.DateRange do
end
@spec serialize_range(PgRanges.DateRange.t()) :: String.t()
@spec serialize_range(list(DateTime.t() | nil)) :: String.t()
@spec serialize_range(list(String.t())) :: String.t()
defp serialize_range(%PgRanges.DateRange{lower: start_range, upper: end_range}),
do: serialize_range([start_range, end_range])

View File

@ -35,17 +35,17 @@ defmodule Wabanex.MixProject do
{:crudry, "~> 2.4.0"},
{:dialyxir, "~> 1.1", only: [:dev, :test], runtime: false},
{:ecto_sql, "~> 3.4"},
{:gettext, "~> 0.19"},
{:gettext, "~> 0.11"},
{:jason, "~> 1.0"},
{:junit_formatter, "~> 3.1", only: [:test]},
{:lcov_ex, "~> 0.2", only: [:dev, :test], runtime: false},
{:pg_ranges, "~> 1.1"},
{:phoenix, "~> 1.6.0"},
{:phoenix_ecto, "~> 4.1"},
{:phoenix_live_dashboard, "~> 0.6"},
{:phoenix_live_dashboard, "~> 0.4"},
{:plug_cowboy, "~> 2.0"},
{:postgrex, ">= 0.0.0"},
{:telemetry_metrics, "~> 0.6"},
{:telemetry_metrics, "~> 0.4"},
{:telemetry_poller, "~> 1.0"}
]
end

View File

@ -40,7 +40,7 @@
"plug_crypto": {:hex, :plug_crypto, "1.2.2", "05654514ac717ff3a1843204b424477d9e60c143406aa94daf2274fdd280794d", [:mix], [], "hexpm", "87631c7ad914a5a445f0a3809f99b079113ae4ed4b867348dd9eec288cecb6db"},
"postgrex": {:hex, :postgrex, "0.16.2", "0f83198d0e73a36e8d716b90f45f3bde75b5eebf4ade4f43fa1f88c90a812f74", [:mix], [{:connection, "~> 1.1", [hex: :connection, repo: "hexpm", optional: false]}, {:db_connection, "~> 2.1", [hex: :db_connection, repo: "hexpm", optional: false]}, {:decimal, "~> 1.5 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}], "hexpm", "a9ea589754d9d4d076121090662b7afe155b374897a6550eb288f11d755acfa0"},
"ranch": {:hex, :ranch, "1.8.0", "8c7a100a139fd57f17327b6413e4167ac559fbc04ca7448e9be9057311597a1d", [:make, :rebar3], [], "hexpm", "49fbcfd3682fab1f5d109351b61257676da1a2fdbe295904176d5e521a2ddfe5"},
"telemetry": {:hex, :telemetry, "1.1.0", "a589817034a27eab11144ad24d5c0f9fab1f58173274b1e9bae7074af9cbee51", [:rebar3], [], "hexpm", "b727b2a1f75614774cff2d7565b64d0dfa5bd52ba517f16543e6fc7efcc0df48"},
"telemetry": {:hex, :telemetry, "1.0.0", "0f453a102cdf13d506b7c0ab158324c337c41f1cc7548f0bc0e130bbf0ae9452", [:rebar3], [], "hexpm", "73bc09fa59b4a0284efb4624335583c528e07ec9ae76aca96ea0673850aec57a"},
"telemetry_metrics": {:hex, :telemetry_metrics, "0.6.1", "315d9163a1d4660aedc3fee73f33f1d355dcc76c5c3ab3d59e76e3edf80eef1f", [:mix], [{:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "7be9e0871c41732c233be71e4be11b96e56177bf15dde64a8ac9ce72ac9834c6"},
"telemetry_poller": {:hex, :telemetry_poller, "1.0.0", "db91bb424e07f2bb6e73926fcafbfcbcb295f0193e0a00e825e589a0a47e8453", [:rebar3], [{:telemetry, "~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "b3a24eafd66c3f42da30fc3ca7dda1e9d546c12250a2d60d7b81d264fbec4f6e"},
}