Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading