Skip to content

Commit 8e9330b

Browse files
committed
Add new action step
1 parent f602464 commit 8e9330b

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/housekeeping.yml

+19
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,22 @@ jobs:
6565
elixir-version: 1.16.2
6666
- run: mix deps.get
6767
- run: ASSERT_TRIGGERS=1 mix test
68+
69+
compare_to_latest_credo:
70+
name: "resulting issues are still the same (optional)"
71+
runs-on: ubuntu-20.04
72+
steps:
73+
- uses: actions/checkout@v4
74+
with:
75+
fetch-depth: 0
76+
- uses: erlef/setup-beam@v1
77+
with:
78+
otp-version: 26.2
79+
elixir-version: 1.16.2
80+
- run: mix deps.get
81+
- run: mix credo
82+
- run: mkdir tmp
83+
- run: elixir test/old_credo.exs > tmp/old_credo.txt
84+
- run: mix credo --strict --enable-disabled-checks .+ --no-color --format oneline > tmp/new_credo.txt
85+
- run: diff tmp/old_credo.txt tmp/new_credo.txt
86+

0 commit comments

Comments
 (0)