diff --git a/.github/workflows/ghcr-publish.yaml b/.github/workflows/ghcr-publish.yaml index 2e63da7..206de85 100644 --- a/.github/workflows/ghcr-publish.yaml +++ b/.github/workflows/ghcr-publish.yaml @@ -11,6 +11,9 @@ env: IMAGE_NAME: ${{ github.repository }} jobs: + build-and-test: + uses: ./.github/workflows/test-and-build.yaml + ghcr-publish: runs-on: ubuntu-latest permissions: diff --git a/.github/workflows/test-and-build.yaml b/.github/workflows/test-and-build.yaml index 397652a..219c08c 100644 --- a/.github/workflows/test-and-build.yaml +++ b/.github/workflows/test-and-build.yaml @@ -13,9 +13,10 @@ on: branches: - main workflow_dispatch: + workflow_call: jobs: - test: + build-and-test: runs-on: ubuntu-latest steps: