fix(ci): ensure dependencies installed in quality and test jobs

Add 'mix deps.get --only test' to quality and test jobs after
downloading artifacts to ensure dependencies are current and
prevent 'lock mismatch' errors.

Fast when deps cached, but ensures consistency across all jobs.
This commit is contained in:
Graham McIntire 2026-03-05 16:22:57 -06:00
parent 1be8ac4a72
commit 04564a402f
No known key found for this signature in database

View file

@ -129,6 +129,9 @@ jobs:
with:
name: build-artifacts
- name: Install dependencies
run: mix deps.get --only test
- name: Check code formatting
if: matrix.task == 'format'
run: mix format --check-formatted
@ -175,6 +178,9 @@ jobs:
with:
name: build-artifacts
- name: Install dependencies
run: mix deps.get --only test
- name: Wait for PostgreSQL
run: |
timeout 30 bash -c 'until pg_isready -h postgres -p 5432 -U postgres; do sleep 1; done'