Page MenuHomePhorge

No OneTemporary

Size
2 KB
Referenced Files
None
Subscribers
None
diff --git a/.github/workflows/elixir.yaml b/.github/workflows/elixir.yaml
new file mode 100644
index 0000000..e9ffeae
--- /dev/null
+++ b/.github/workflows/elixir.yaml
@@ -0,0 +1,28 @@
+name: Elixir CI
+
+on: push
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
+ strategy:
+ matrix:
+ otp: [21.0, 22.2]
+ elixir: [1.7.0, 1.10.1]
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-elixir@v1
+ with:
+ otp-version: ${{matrix.otp}}
+ elixir-version: ${{matrix.elixir}}
+ - name: Install Dependencies
+ run: mix deps.get
+ - name: Compile
+ run: mix compile --force --warnings-as-errors
+ - name: Check format
+ run: mix format --check-formatted
+ # - name: Run credo
+ # run: mix credo
+ - name: Run Tests
+ run: mix test
diff --git a/mix.exs b/mix.exs
index ff4e6ce..204b0f1 100644
--- a/mix.exs
+++ b/mix.exs
@@ -1,30 +1,31 @@
defmodule Exile.MixProject do
use Mix.Project
def project do
[
app: :exile,
version: "0.1.0",
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
compilers: [:elixir_make] ++ Mix.compilers(),
make_targets: ["all"],
make_clean: ["clean"],
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
- {:elixir_make, "~> 0.6", runtime: false}
+ {:elixir_make, "~> 0.6", runtime: false},
+ {:credo, "~> 1.4", only: [:dev, :test], runtime: false}
]
end
end
diff --git a/mix.lock b/mix.lock
index a7f64e0..bdbc3a7 100644
--- a/mix.lock
+++ b/mix.lock
@@ -1,3 +1,6 @@
%{
- "elixir_make": {:hex, :elixir_make, "0.6.0", "38349f3e29aff4864352084fc736fa7fa0f2995a819a737554f7ebd28b85aaab", [:mix], [], "hexpm", "d522695b93b7f0b4c0fcb2dfe73a6b905b1c301226a5a55cb42e5b14d509e050"}
+ "bunt": {:hex, :bunt, "0.2.0", "951c6e801e8b1d2cbe58ebbd3e616a869061ddadcc4863d0a2182541acae9a38", [:mix], [], "hexpm", "7af5c7e09fe1d40f76c8e4f9dd2be7cebd83909f31fee7cd0e9eadc567da8353"},
+ "credo": {:hex, :credo, "1.4.0", "92339d4cbadd1e88b5ee43d427b639b68a11071b6f73854e33638e30a0ea11f5", [:mix], [{:bunt, "~> 0.2.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "1fd3b70dce216574ce3c18bdf510b57e7c4c85c2ec9cad4bff854abaf7e58658"},
+ "elixir_make": {:hex, :elixir_make, "0.6.0", "38349f3e29aff4864352084fc736fa7fa0f2995a819a737554f7ebd28b85aaab", [:mix], [], "hexpm", "d522695b93b7f0b4c0fcb2dfe73a6b905b1c301226a5a55cb42e5b14d509e050"},
+ "jason": {:hex, :jason, "1.2.1", "12b22825e22f468c02eb3e4b9985f3d0cb8dc40b9bd704730efa11abd2708c44", [:mix], [{:decimal, "~> 1.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "b659b8571deedf60f79c5a608e15414085fa141344e2716fbd6988a084b5f993"},
}

File Metadata

Mime Type
text/x-diff
Expires
Sat, Aug 8, 2:52 PM (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1722414
Default Alt Text
(2 KB)

Event Timeline