Skip to content

Commit ce7720b

Browse files
committed
Add more steps to ci workflow
1 parent 783d064 commit ce7720b

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/ci.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,23 @@ jobs:
3030
_build
3131
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-mixlockhash-${{ env.MIX_LOCK_HASH }}
3232

33-
- name: Install Dependencies
33+
- name: Install mix dependencies
34+
if: steps.restore-cache.outputs.cache-hit != 'true'
3435
run: mix deps.get
3536

37+
- name: Compile dependencies
38+
if: steps.restore-cache.outputs.cache-hit != 'true'
39+
run: mix deps.compile
40+
41+
- name: Compile
42+
run: mix compile --warnings-as-errors --force
43+
3644
- name: Check Formatting
3745
run: mix format --check-formatted
3846

47+
- name: Check unused deps
48+
run: mix deps.unlock --check-unused
49+
3950
- name: Run Tests
4051
run: mix test
4152

0 commit comments

Comments
 (0)