Bump shivammathur/setup-php from 2.29.0 to 2.30.0 #34
Workflow file for this run
This file contains 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 and Code Analysis | |
on: # yamllint disable-line rule:truthy | |
# Trigger the workflow on pushes to the main branch and all pull requests. | |
push: | |
branches: | |
- "**.x" | |
pull_request: | |
jobs: | |
php-tests: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
strategy: | |
matrix: | |
php: [7.4, 8.0, 8.1, 8.2, 8.3] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/[email protected] | |
with: | |
php-version: ${{ matrix.php }} | |
- name: Validate composer.json and composer.lock | |
run: composer validate | |
- name: Install Composer dependencies | |
uses: "ramsey/composer-install@v2" | |
- name: PHP coding standards | |
run: composer php-check | |
- name: PHP static analysis | |
run: composer php-stan | |
yaml-lint: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: YAML lint | |
uses: ibiqlik/[email protected] | |
with: | |
config_file: .yamllint.yml |