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

Maintenance #52

Merged
merged 2 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should keep that in mind.

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