From 04564a402f0f956b159ac97503e6780190e74ccc Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Thu, 5 Mar 2026 16:22:57 -0600 Subject: [PATCH] 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. --- .forgejo/workflows/build.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index d3c1c1c2..d0e3b6df 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -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'