Update stub-generator to resolve PHPDoc types to FQSEN (#45) #34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "PHP Tests" | |
| on: | |
| push: | |
| branches: | |
| - "master" | |
| pull_request: null | |
| permissions: | |
| contents: "read" | |
| jobs: | |
| test: | |
| runs-on: "ubuntu-latest" | |
| strategy: | |
| matrix: | |
| php-version: | |
| - "7.4" | |
| - "8.0" | |
| - "8.1" | |
| - "8.2" | |
| - "8.3" | |
| - "8.4" | |
| - "8.5" | |
| steps: | |
| - name: "Checkout repository" | |
| uses: "actions/checkout@v6" | |
| - name: "Set up PHP" | |
| uses: "shivammathur/setup-php@v2" | |
| with: | |
| coverage: "none" | |
| php-version: "${{ matrix.php-version }}" | |
| - name: "Validate composer" | |
| run: "composer validate --strict" | |
| - name: "Install dependencies" | |
| run: "composer update --no-interaction" | |
| - run: "composer run test" |