Skip to content

Do not force a cache rebuild after a database refresh (#221) #654

Do not force a cache rebuild after a database refresh (#221)

Do not force a cache rebuild after a database refresh (#221) #654

Workflow file for this run

---
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:
- "[0-9].x"
pull_request:
jobs:
php-tests:
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
php: [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 phpcs
- name: PHP static analysis
run: composer phpstan
- name: PHP rector
run: composer rector
- name: Test robo theme:build command.
run: composer robo theme:build
- name: Test robo config:update-php-version command.
run: composer robo config:update-php-version 8.2
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