diff --git a/.github/workflows/molecule-template.yml b/.github/workflows/molecule-template.yml index 023c800b5..d1795883b 100644 --- a/.github/workflows/molecule-template.yml +++ b/.github/workflows/molecule-template.yml @@ -1,7 +1,7 @@ --- name: Molecule Template on: - workflow_dispatch: + workflow_call: jobs: molecule: name: Molecule diff --git a/.github/workflows/test-default.yml b/.github/workflows/test-default.yml index ba2450d3b..e3f56fe33 100644 --- a/.github/workflows/test-default.yml +++ b/.github/workflows/test-default.yml @@ -1,21 +1,10 @@ --- name: Test Default -on: - workflow_call: -jobs: - molecule: - name: Molecule - runs-on: macos-12 - strategy: - matrix: - scenario: - - default - fail-fast: false - env: - PYTHON_VERSION: "3.11" - 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 +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