Skip to content

Commit

Permalink
Update action step
Browse files Browse the repository at this point in the history
  • Loading branch information
rrrene committed Jun 12, 2024
1 parent 8e9330b commit fb557f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/housekeeping.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

3 changes: 3 additions & 0 deletions test/old_credo.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Mix.install([{:credo, "~> 1.7"}])

Credo.run(~w"--mute-exit-status --strict --enable-disabled-checks .+ --no-color --format oneline")

0 comments on commit fb557f5

Please sign in to comment.