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 9723f84 commit 6adcf8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
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 6adcf8e

Please sign in to comment.