@@ -13,22 +13,22 @@ jobs:
1313 WP_PHPUNIT_REPO : ${{ secrets.WP_PHPUNIT_REPO }}
1414 steps :
1515 - name : Generate token
16- uses : tibdex/github-app-token@v1
16+ uses : tibdex/github-app-token@v2
1717 id : generate-token
1818 with :
1919 app_id : ${{ secrets.BOT_APP_ID }}
2020 private_key : ${{ secrets.BOT_PRIVATE_KEY }}
2121
22- - uses : actions/checkout@v3
22+ - uses : actions/checkout@v4
2323 with :
2424 repository : wp-phpunit/build
2525
26- - uses : actions/checkout@v3
26+ - uses : actions/checkout@v4
2727 with :
2828 repository : wordpress/wordpress-develop
2929 path : repos/wordpress
3030
31- - uses : actions/checkout@v3
31+ - uses : actions/checkout@v4
3232 with :
3333 repository : ${{ format('wp-phpunit/{0}', secrets.TARGET_REPO_NAME) }}
3434 path : repos/package
@@ -40,23 +40,14 @@ jobs:
4040 git config user.name "GitHub Actions"
4141 git config user.email "actions@github.com"
4242
43- - name : Get Composer Cache Directory
44- id : composer-cache
45- run : echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT"
46- - name : Cache PHP dependencies
47- uses : actions/cache@v3
48- id : actions-cache
49- with :
50- path : ${{ steps.composer-cache.outputs.dir }}
51- key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
52- restore-keys : ${{ runner.os }}-composer-
53-
5443 - uses : shivammathur/setup-php@v2
5544 with :
5645 php-version : ' 7.2'
5746 tools : composer:2.2
5847
59- - run : composer install --prefer-dist --no-dev
48+ - uses : " ramsey/composer-install@v3"
49+ with :
50+ composer-options : " --no-dev --prefer-dist"
6051
6152 - name : Run
6253 run : bin/build
0 commit comments