File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 30
30
restore-keys : ${{ matrix.os }}-otp_${{ matrix.otp }}-elixir_${{ matrix.elixir }}-mix_
31
31
- run : mix deps.get
32
32
- run : mix deps.compile
33
- - run : mix format --check-formatted
34
- - run : mix deps.unlock --check-unused
35
- - run : mix credo --strict --all
33
+ - run : mix lint
36
34
37
35
test :
38
36
runs-on : ${{ matrix.os }}
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ defmodule EctoSQLite3.MixProject do
16
16
description: description ( ) ,
17
17
test_paths: test_paths ( System . get_env ( "EXQLITE_INTEGRATION" ) ) ,
18
18
elixirc_paths: elixirc_paths ( Mix . env ( ) ) ,
19
+ aliases: aliases ( ) ,
19
20
20
21
# Docs
21
22
name: "Ecto SQLite3" ,
@@ -85,4 +86,14 @@ defmodule EctoSQLite3.MixProject do
85
86
86
87
defp test_paths ( nil ) , do: [ "test" ]
87
88
defp test_paths ( _any ) , do: [ "integration_test" ]
89
+
90
+ defp aliases do
91
+ [
92
+ lint: [
93
+ "format --check-formatted" ,
94
+ "deps.unlock --check-unused" ,
95
+ "credo --all --strict"
96
+ ]
97
+ ]
98
+ end
88
99
end
You can’t perform that action at this time.
0 commit comments