Current section

Files

Jump to
action lib action.ex
Raw

lib/action.ex

defmodule Action do
@external_resource readme = Path.join([__DIR__, "../README.md"])
@moduledoc readme |> File.read!() |> String.split("<!-- MDOC -->") |> Enum.fetch!(1)
@version Mix.Project.config()[:version]
def version, do: @version
@type reason :: binary() | atom()
@type t :: {:ok, Action.Github.t()} | {:error, reason}
end