Skip to content

Commit

Permalink
Merge pull request #11484 from greg0ire/backport-ramsey
Browse files Browse the repository at this point in the history
Use ramsey/composer-install in PHPBench workflow
  • Loading branch information
greg0ire authored Jun 2, 2024
2 parents 23b35e9 + 06eca40 commit 3a7d7c9
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/phpbench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,8 @@ jobs:
coverage: "pcov"
ini-values: "zend.assertions=1, apc.enable_cli=1"

- name: "Cache dependencies installed with composer"
uses: "actions/cache@v3"
with:
path: "~/.composer/cache"
key: "php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}"
restore-keys: "php-${{ matrix.php-version }}-composer-locked-"

- name: "Install dependencies with composer"
run: "composer update --no-interaction --no-progress"
- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v3"

- name: "Run PHPBench"
run: "vendor/bin/phpbench run --report=default"

0 comments on commit 3a7d7c9

Please sign in to comment.