Skip to content

Commit 0de987a

Browse files
HP-1751 Modernized GitHub Actions workflow, updated the following:
- actions/cache to v4 - actions/checkout to v4 - shivammathur/setup-php to v3 - composer to v4
1 parent b3bb340 commit 0de987a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/phpunit-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@ jobs:
1616
name: PHP ${{ matrix.php }}
1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v4
2020

2121
- name: Install PHP
22-
uses: shivammathur/setup-php@v2
22+
uses: shivammathur/setup-php@v3
2323
with:
2424
php-version: ${{ matrix.php }}
2525
extensions: gmp
2626
coverage: pcov
27-
tools: composer:v2, infection
27+
tools: composer:v4, infection
2828

2929
- name: Cache Composer packages
3030
id: composer-cache
31-
uses: actions/cache@v2
31+
uses: actions/cache@v4
3232
with:
3333
path: vendor
3434
key: ${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}

0 commit comments

Comments
 (0)