Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
elixir-version: "1.16.3"
otp-version: "26.2.5.9"

- uses: actions/checkout@v1
- uses: actions/checkout@v5
- run: |
mix local.hex --force
mix local.rebar --force
Expand Down
26 changes: 16 additions & 10 deletions lib/todo_app.ex
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,22 @@ defmodule TodoApp do

:ets.new(:session, [:named_table, :public, read_concurrency: true])

{:ok, sup} = Supervisor.start_link([
TodoWeb.Telemetry,
TodoApp.Repo,
{DNSCluster, query: Application.get_env(:todo, :dns_cluster_query) || :ignore},
{Phoenix.PubSub, name: TodoApp.PubSub},
# Start a worker by calling: Todo.Worker.start_link(arg)
# {Todo.Worker, arg},
# Start to serve requests, typically the last entry
TodoWeb.Endpoint
], name: __MODULE__, strategy: :one_for_one)
{:ok, sup} =
Supervisor.start_link(
[
TodoWeb.Telemetry,
TodoApp.Repo,
{DNSCluster, query: Application.get_env(:todo, :dns_cluster_query) || :ignore},
{Phoenix.PubSub, name: TodoApp.PubSub},
# Start a worker by calling: Todo.Worker.start_link(arg)
# {Todo.Worker, arg},
# Start to serve requests, typically the last entry
TodoWeb.Endpoint
],
name: __MODULE__,
strategy: :one_for_one
)

TodoApp.Repo.initialize()

{:ok, _} =
Expand Down
2 changes: 1 addition & 1 deletion mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dbus": {:hex, :dbus, "0.8.0", "7c800681f35d909c199265e55a8ee4aea9ebe4acccce77a0740f89f29cc57648", [:make], [], "hexpm", "a9784f2d9717ffa1f74169144a226c39633ac0d9c7fe8cb3594aeb89c827cca5"},
"debouncer": {:hex, :debouncer, "0.1.8", "ab7f6eef7c9f029929bb2b737de6dc4bf12ac4ddedb49194ba00f4240b226b5a", [:mix], [], "hexpm", "77c4be1d10f984aec0dfbc50d43c16d7512605cabe6d79cadc0c8f4ba95d4906"},
"decimal": {:hex, :decimal, "2.3.0", "3ad6255aa77b4a3c4f818171b12d237500e63525c2fd056699967a3e7ea20f62", [:mix], [], "hexpm", "a4d66355cb29cb47c3cf30e71329e58361cfcb37c34235ef3bf1d7bf3773aeac"},
"desktop": {:git, "https://github.com/elixir-desktop/desktop.git", "4d5768dad0380ae0f3f4a80b0e2628c9872e1e25", []},
"desktop": {:git, "https://github.com/elixir-desktop/desktop.git", "9a782440cd852292ff5a2a09dd6c3fcc3faac94c", []},
"desktop_deployment": {:git, "https://github.com/elixir-desktop/deployment.git", "29aa9b2de6465242b50a7b37d91b2141c505b347", []},
"dns_cluster": {:hex, :dns_cluster, "0.2.0", "aa8eb46e3bd0326bd67b84790c561733b25c5ba2fe3c7e36f28e88f384ebcb33", [:mix], [], "hexpm", "ba6f1893411c69c01b9e8e8f772062535a4cf70f3f35bcc964a324078d8c8240"},
"ecto": {:hex, :ecto, "3.13.3", "6a983f0917f8bdc7a89e96f2bf013f220503a0da5d8623224ba987515b3f0d80", [:mix], [{:decimal, "~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "1927db768f53a88843ff25b6ba7946599a8ca8a055f69ad8058a1432a399af94"},
Expand Down
Loading