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 3030 restore-keys : ${{ matrix.os }}-otp_${{ matrix.otp }}-elixir_${{ matrix.elixir }}-mix_
3131 - run : mix deps.get
3232 - 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
3634
3735 test :
3836 runs-on : ${{ matrix.os }}
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ defmodule EctoSQLite3.MixProject do
1616 description: description ( ) ,
1717 test_paths: test_paths ( System . get_env ( "EXQLITE_INTEGRATION" ) ) ,
1818 elixirc_paths: elixirc_paths ( Mix . env ( ) ) ,
19+ aliases: aliases ( ) ,
1920
2021 # Docs
2122 name: "Ecto SQLite3" ,
@@ -85,4 +86,14 @@ defmodule EctoSQLite3.MixProject do
8586
8687 defp test_paths ( nil ) , do: [ "test" ]
8788 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
8899end
You can’t perform that action at this time.
0 commit comments