Skip to content

Include old credo install in logs #11

Include old credo install in logs

Include old credo install in logs #11

name: "Housekeeping: Regressions"
on:
push:
branches:
- master
- release/*
pull_request:
branches:
- master
jobs:
compare_to_latest_credo:
name: "resulting issues are still the same (optional)"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: erlef/setup-beam@v1
with:
otp-version: 27.3
elixir-version: 1.18.4
- run: mix deps.get
- run: mix credo --mute-exit-status
- run: mkdir tmp
- run: head --lines=3 test/old_credo.exs
- run: elixir test/old_credo.exs
- run: elixir test/old_credo.exs > tmp/old_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