mirror of
https://github.com/doctrine/.github.git
synced 2026-03-23 22:32:09 +01:00
Bumps [ramsey/composer-install](https://github.com/ramsey/composer-install) from 3 to 4. - [Release notes](https://github.com/ramsey/composer-install/releases) - [Commits](https://github.com/ramsey/composer-install/compare/v3...v4) --- updated-dependencies: - dependency-name: ramsey/composer-install dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
34 lines
780 B
YAML
34 lines
780 B
YAML
|
|
name: "Documentation"
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
guides:
|
|
name: "Generate docs"
|
|
runs-on: "ubuntu-22.04"
|
|
|
|
steps:
|
|
- name: "Checkout"
|
|
uses: "actions/checkout@v6"
|
|
|
|
- name: "Install PHP"
|
|
uses: "shivammathur/setup-php@v2"
|
|
with:
|
|
coverage: "none"
|
|
ini-file: development
|
|
php-version: "8.4" # Use the same version as in doctrine/doctrine-website
|
|
tools: "cs2pr"
|
|
|
|
- name: "Install dependencies with Composer"
|
|
uses: "ramsey/composer-install@v4"
|
|
with:
|
|
dependency-versions: "highest"
|
|
composer-options: "${{ inputs.composer-options }}"
|
|
working-directory: "docs"
|
|
|
|
- name: "Run docs builder"
|
|
run: |
|
|
./docs/vendor/bin/build-docs.sh
|