From c6a20c7f148758aa06e08629c48fcdb837d5b3f8 Mon Sep 17 00:00:00 2001 From: Timothy Stewart Date: Sun, 29 Oct 2023 14:27:20 -0500 Subject: [PATCH] fix(CI): Break up workflows and use templates --- .github/workflows/test-default.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test-default.yml b/.github/workflows/test-default.yml index e3f56fe33..185afe4c3 100644 --- a/.github/workflows/test-default.yml +++ b/.github/workflows/test-default.yml @@ -1,10 +1,12 @@ --- name: Test Default -runs: - using: "composite" - steps: - - name: Check out the codebase - uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791 # v3 2.5.0 - with: - ref: ${{ github.event.pull_request.head.sha }} - - uses: ./.github/workflows/molecule-template.yml +on: + workflow_call: + runs: + using: "composite" + steps: + - name: Check out the codebase + uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791 # v3 2.5.0 + with: + ref: ${{ github.event.pull_request.head.sha }} + - uses: ./.github/workflows/molecule-template.yml