[Backport 13.4] [TASK] Migrate workflows to shared reusable workflows from .github #1097
Workflow file for this run
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: tests | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| lint: | |
| name: Linting | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| php: | |
| - '8.2' | |
| - '8.3' | |
| - '8.4' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - name: Lint PHP | |
| run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s lint | |
| quality: | |
| name: Quality | |
| runs-on: ubuntu-latest | |
| env: | |
| php: '8.2' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - name: Install testing system | |
| run: Build/Scripts/runTests.sh -p ${{ env.php }} -s composerUpdate | |
| - name: Composer validate | |
| run: Build/Scripts/runTests.sh -p ${{ env.php }} -s composerValidate | |
| - name: Composer normalize | |
| run: Build/Scripts/runTests.sh -p ${{ env.php }} -s composerNormalize -n | |
| - name: CGL | |
| run: Build/Scripts/runTests.sh -n -p ${{ env.php }} -s cgl -n | |
| - name: Check Rst | |
| run: Build/Scripts/runTests.sh -p ${{ env.php }} -s checkRst | |
| - name: Lint YAML | |
| run: Build/Scripts/runTests.sh -p ${{ env.php }} -s yamlLint |