Skip to content

Commit

Permalink
Upgrade GitHub Actions configurations
Browse files Browse the repository at this point in the history
Updated checkout action to v3 and PHP version to 8.3 across CI workflows. Simplified composer validation command in coding standards workflow by removing redundant composer update step. These changes ensure compatibility with the latest tools and improve workflow efficiency.
  • Loading branch information
koriym committed Nov 22, 2024
1 parent f7f19a2 commit 3f32424
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.3
tools: cs2pr
coverage: none

Expand All @@ -35,9 +35,7 @@ jobs:
run: composer install --no-interaction --no-progress --prefer-dist

- name: Validate composer.json
run |
composer update
composer validate --strict
run: composer validate --strict

- name: Run PHP_CodeSniffer
run: ./vendor/bin/phpcs -q --no-colors --report=checkstyle src tests | cs2pr
4 changes: 2 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: 8.3
coverage: pcov
ini-values: zend.assertions=1

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.3
tools: cs2pr
coverage: none

Expand Down

0 comments on commit 3f32424

Please sign in to comment.