Skip to content

Commit

Permalink
Add new action step
Browse files Browse the repository at this point in the history
  • Loading branch information
rrrene committed Jun 12, 2024
1 parent f602464 commit 8e9330b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/housekeeping.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,22 @@ jobs:
elixir-version: 1.16.2
- run: mix deps.get
- run: ASSERT_TRIGGERS=1 mix test

compare_to_latest_credo:
name: "resulting issues are still the same (optional)"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: erlef/setup-beam@v1
with:
otp-version: 26.2
elixir-version: 1.16.2
- run: mix deps.get
- run: mix credo
- 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: diff tmp/old_credo.txt tmp/new_credo.txt

0 comments on commit 8e9330b

Please sign in to comment.