Skip to content

Commit f3bb740

Browse files
committed
Update phpunit workflow in starter
1 parent c82abed commit f3bb740

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

admin/starter/.github/workflows/phpunit.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,14 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
php-versions: ['8.2', '8.4']
14+
php-versions: ['8.2', '8.5']
1515

1616
runs-on: ubuntu-latest
17-
18-
if: (! contains(github.event.head_commit.message, '[ci skip]'))
17+
if: (! contains(github.event.pull_request.title, '[ci skip]'))
1918

2019
steps:
2120
- name: Checkout
22-
uses: actions/checkout@v2
21+
uses: actions/checkout@v6
2322

2423
- name: Setup PHP, with composer and extensions
2524
uses: shivammathur/setup-php@v2
@@ -31,17 +30,17 @@ jobs:
3130

3231
- name: Get composer cache directory
3332
id: composer-cache
34-
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
33+
run: echo "COMPOSER_CACHE_DIR=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
3534

3635
- name: Cache composer dependencies
37-
uses: actions/cache@v2
36+
uses: actions/cache@v4
3837
with:
39-
path: ${{ steps.composer-cache.outputs.dir }}
38+
path: ${{ steps.composer-cache.outputs.COMPOSER_CACHE_DIR }}
4039
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
4140
restore-keys: ${{ runner.os }}-composer-
4241

4342
- name: Install dependencies
44-
run: composer install --no-progress --no-interaction --prefer-dist --optimize-autoloader
43+
run: composer install --no-progress --no-interaction
4544
# To prevent rate limiting you may need to supply an OAuth token in Settings > Secrets
4645
# env:
4746
# https://getcomposer.org/doc/articles/troubleshooting.md#api-rate-limit-and-oauth-tokens

0 commit comments

Comments
 (0)