Skip to content

Commit

Permalink
fix: pin phpDocumentor
Browse files Browse the repository at this point in the history
Sudden upgrades can lead to broken builds. For instance, the latest
versions require us to install phpDocumentor/filesystem. Let us do the
upgrades in a controlled way from time to time instead.
  • Loading branch information
greg0ire committed Feb 3, 2025
1 parent 9061a3b commit f2ceefa
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,12 @@ jobs:
run: "rm composer.json"

- name: "Require phpdocumentor/guides-cli"
# We use the same version constraint as in doctrine/doctrine-website
run: "composer require --dev phpdocumentor/guides-cli '^1.4' --no-update"
# We use the same versions as in doctrine/doctrine-website
run: >
composer require --dev
phpdocumentor/guides-cli:1.7.0
phpdocumentor/filesystem:1.7.0
--no-update
- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v3"
Expand Down

0 comments on commit f2ceefa

Please sign in to comment.