Skip to content

Commit 32b6499

Browse files
committed
Replace with ramsey/composer-install
1 parent 47d76c4 commit 32b6499

1 file changed

Lines changed: 3 additions & 12 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)