diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index efa3b1d..3eb7b98 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -32,13 +32,17 @@ on: dependencies: required: false type: string + runner: + required: true + type: string + default: ubuntu-latest env: SHOPWARE_TOOL_CACHE_PHPSTAN: ${{ github.workspace }}/var/phpstan jobs: run: name: Static Analyse - runs-on: ubuntu-latest + runs-on: ${{ inputs.runner }} steps: - uses: shopware/github-actions/shopware-version@main with: diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 22e72e3..3be1f4d 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -42,6 +42,10 @@ on: required: false type: boolean default: false + runner: + required: true + type: string + default: ubuntu-latest secrets: codecovToken: description: "Codecov token" @@ -53,7 +57,7 @@ on: jobs: run: name: Tests - runs-on: ubuntu-latest + runs-on: ${{ inputs.runner }} steps: - uses: shopware/github-actions/shopware-version@main with: