Skip to content

Commit

Permalink
Merge pull request #52 from doctrine/maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus authored Oct 9, 2024
2 parents d29f373 + 0d3ee08 commit 86f67a2
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 40 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,9 @@ on:

jobs:
coding-standards:
name: "Coding Standards"
name: "Coding Standards (PHP: ${{ inputs.php-version }})"
runs-on: "ubuntu-22.04"

strategy:
matrix:
php-version:
- "${{ inputs.php-version }}"

steps:
- name: "Checkout"
uses: "actions/checkout@v4"
Expand All @@ -37,7 +32,7 @@ jobs:
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
php-version: "${{ inputs.php-version }}"
tools: "cs2pr"

- name: "Set COMPOSER_ROOT_VERSION"
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/composer-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,9 @@ on:

jobs:
composer-lint:
name: "Composer Lint"
name: "Composer Lint (PHP: ${{ inputs.php-version }})"
runs-on: "ubuntu-22.04"

strategy:
matrix:
php-version:
- "${{ inputs.php-version }}"

steps:
- name: "Checkout"
uses: "actions/checkout@v4"
Expand All @@ -28,7 +23,7 @@ jobs:
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
php-version: "${{ inputs.php-version }}"
tools: composer:v2, composer-normalize:2
env:
COMPOSER_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ jobs:
name: "phpDocumentor Guides"
runs-on: "ubuntu-22.04"

strategy:
matrix:
php-version:
- "8.3" # Use the same version as in doctrine/doctrine-website

steps:
- name: "Checkout"
uses: "actions/checkout@v4"
Expand All @@ -22,7 +17,7 @@ jobs:
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
php-version: "8.3" # Use the same version as in doctrine/doctrine-website
tools: "cs2pr"

# Some of our dependencies have supported branches where they still need
Expand Down
18 changes: 4 additions & 14 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,9 @@ on:

jobs:
phpstan:
name: "PHPStan"
name: "PHPStan (PHP: ${{ inputs.php-version }})"
runs-on: "ubuntu-22.04"

strategy:
matrix:
php-version:
- "${{ inputs.php-version }}"

steps:
- name: "Checkout code"
uses: "actions/checkout@v4"
Expand All @@ -37,7 +32,7 @@ jobs:
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
php-version: "${{ inputs.php-version }}"

- name: "Set COMPOSER_ROOT_VERSION"
run: |
Expand All @@ -54,14 +49,9 @@ jobs:
run: "vendor/bin/phpstan analyse -v"

psalm:
name: "Psalm"
name: "Psalm (PHP: ${{ inputs.php-version }})"
runs-on: "ubuntu-22.04"

strategy:
matrix:
php-version:
- "${{ inputs.php-version }}"

steps:
- name: "Checkout code"
uses: "actions/checkout@v4"
Expand All @@ -70,7 +60,7 @@ jobs:
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
php-version: "${{ inputs.php-version }}"

- name: "Set COMPOSER_ROOT_VERSION"
run: |
Expand Down
4 changes: 2 additions & 2 deletions workflow-templates/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
paths:
- ".github/workflows/coding-standards.yml"
- "composer.*"
- "src/**" # but some packages use lib
- "src/**"
- "phpcs.xml.dist"
- "tests/**"
push:
Expand All @@ -17,7 +17,7 @@ on:
paths:
- ".github/workflows/coding-standards.yml"
- "composer.*"
- "src/**" # but some packages use lib
- "src/**"
- "phpcs.xml.dist"
- "tests/**"

Expand Down
4 changes: 2 additions & 2 deletions workflow-templates/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
paths:
- ".github/workflows/continuous-integration.yml"
- "composer.*"
- "src/**" # but some packages use lib
- "src/**"
- "phpunit.xml.dist"
- "tests/**"
push:
Expand All @@ -16,7 +16,7 @@ on:
paths:
- ".github/workflows/continuous-integration.yml"
- "composer.*"
- "src/**" # but some packages use lib
- "src/**"
- "phpunit.xml.dist"
- "tests/**"

Expand Down
4 changes: 2 additions & 2 deletions workflow-templates/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
paths:
- ".github/workflows/static-analysis.yml"
- "composer.*"
- "src/**" # but some packages use lib
- "src/**"
- "phpstan*"
- "psalm*"
- "tests/**"
Expand All @@ -18,7 +18,7 @@ on:
paths:
- ".github/workflows/static-analysis.yml"
- "composer.*"
- "src/**" # but some packages use lib
- "src/**"
- "phpstan*"
- "psalm*"
- "tests/**"
Expand Down

0 comments on commit 86f67a2

Please sign in to comment.