Skip to content

Update release-drafter/release-drafter digest to 44a942e (#64) #74

Update release-drafter/release-drafter digest to 44a942e (#64)

Update release-drafter/release-drafter digest to 44a942e (#64) #74

Workflow file for this run

name: Test PHP
on:
push:
branches:
- main
pull_request:
branches:
- main
- 'feature/**'
jobs:
test-php:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.2', '8.3', '8.4', '8.5']
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Cache Composer dependencies
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
- name: Setup PHP
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2
with:
php-version: ${{ matrix.php-versions }}
- name: Install dependencies
run: composer install
- name: Check coding standards
run: composer lint
- name: Run tests
run: composer test