Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: make runner configureable #74

Merged
merged 3 commits into from
Mar 19, 2025
Merged
Show file tree
Hide file tree
Changes from 2 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
6 changes: 5 additions & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,17 @@ on:
dependencies:
required: false
type: string
runner:
required: false
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:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ on:
required: false
type: boolean
default: false
runner:
required: false
type: string
default: ubuntu-latest
secrets:
codecovToken:
description: "Codecov token"
Expand All @@ -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:
Expand Down