From 2c3a870715355c71ae3a0d8967825d723ab38824 Mon Sep 17 00:00:00 2001 From: Tony Winn Date: Fri, 10 Apr 2026 13:28:14 -0400 Subject: [PATCH] Split CI into separate steps, remove ci alias --- .github/workflows/ci.yml | 4 +++- mix.exs | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9a96d2c..bb0a190 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,5 +33,7 @@ jobs: - run: mix deps.get - run: mix compile --warnings-as-errors - - run: mix ci + - run: mix format --check-formatted + - run: mix credo --strict + - run: mix test - run: mix dialyzer diff --git a/mix.exs b/mix.exs index c88f3f3..2cb6b3d 100644 --- a/mix.exs +++ b/mix.exs @@ -16,7 +16,7 @@ defmodule Stagehand.MixProject do def cli do [ - preferred_envs: [ci: :test, precommit: :test] + preferred_envs: [precommit: :test] ] end @@ -29,7 +29,6 @@ defmodule Stagehand.MixProject do defp aliases do [ - ci: ["format --check-formatted", "credo --strict", "test"], precommit: ["format", "credo --strict", "test"] ] end