Skip to content

Commit

Permalink
CI: Only run credo and restore plts on most recent version
Browse files Browse the repository at this point in the history
  • Loading branch information
PragTob committed Nov 8, 2023
1 parent fe24d89 commit 678430a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Expand Up @@ -65,9 +65,11 @@ jobs:
with:
path: tools/plts
key: erlef-${{ runner.os }}-dialyzer-${{ matrix.elixir_version }}-${{ matrix.otp_version }}-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
if: contains(matrix.elixir_version, '1.15')
- run: mix deps.get
- run: MIX_ENV=test mix compile --warnings-as-errors
- run: mix credo
if: contains(matrix.elixir_version, '1.15')
- name: Check if formatted
if: contains(matrix.elixir_version, '1.15')
run: mix format --check-formatted
Expand Down

0 comments on commit 678430a

Please sign in to comment.