From fb557f55b33df44200172c760a01e4710e7b672a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20F=C3=B6hring?= Date: Wed, 12 Jun 2024 22:10:32 +0200 Subject: [PATCH] Update action step --- .github/workflows/housekeeping.yml | 4 ++-- test/old_credo.exs | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 test/old_credo.exs diff --git a/.github/workflows/housekeeping.yml b/.github/workflows/housekeeping.yml index 8b79c38bc..5c195f341 100644 --- a/.github/workflows/housekeeping.yml +++ b/.github/workflows/housekeeping.yml @@ -78,9 +78,9 @@ jobs: otp-version: 26.2 elixir-version: 1.16.2 - run: mix deps.get - - run: mix credo + - run: mix credo --mute-exit-status - run: mkdir tmp - run: elixir test/old_credo.exs > tmp/old_credo.txt - - run: mix credo --strict --enable-disabled-checks .+ --no-color --format oneline > tmp/new_credo.txt + - run: mix credo --mute-exit-status --strict --enable-disabled-checks .+ --no-color --format oneline > tmp/new_credo.txt - run: diff tmp/old_credo.txt tmp/new_credo.txt diff --git a/test/old_credo.exs b/test/old_credo.exs new file mode 100644 index 000000000..b61d98297 --- /dev/null +++ b/test/old_credo.exs @@ -0,0 +1,3 @@ +Mix.install([{:credo, "~> 1.7"}]) + +Credo.run(~w"--mute-exit-status --strict --enable-disabled-checks .+ --no-color --format oneline")