From 71803daeeff7c9340b2579b837b9719a2991e40f Mon Sep 17 00:00:00 2001 From: Luke Policinski Date: Wed, 8 Jul 2026 23:00:58 -0400 Subject: [PATCH] chore: test pass beforebuild --- .github/workflows/build.yml | 5 +++++ .github/workflows/tests.yml | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f990c38fd..9fdcc5f82 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,11 @@ concurrency: cancel-in-progress: true jobs: + tests: + uses: ./.github/workflows/tests.yml + build-amd64: + needs: tests runs-on: ubuntu-24.04 steps: - name: Check out the repo @@ -37,6 +41,7 @@ jobs: ghcr.io/${{ github.repository_owner }}/api:latest-amd64 ghcr.io/${{ github.repository_owner }}/api:${{ github.sha }}-amd64 build-arm64: + needs: tests runs-on: ubuntu-24.04-arm steps: - name: Check out the repo diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6b4898d99..ff7440c57 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,13 +2,11 @@ name: tests on: pull_request: - push: - branches: - - "main" + workflow_call: workflow_dispatch: concurrency: - group: tests-${{ github.ref }} + group: tests-${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true jobs: