Skip to content

use "maatify/common": "^1.0" #20

use "maatify/common": "^1.0"

use "maatify/common": "^1.0" #20

Workflow file for this run

name: Maatify Bootstrap Tests
on:
push:
branches: [ "main", "master" ]
pull_request:
branches: [ "main", "master" ]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ "8.4" ] # ✅ Only 8.4 supported officially
steps:
- name: 🛎️ Checkout repository
uses: actions/checkout@v4
- name: ⚙️ Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
extensions: mbstring, intl, bcmath, redis
tools: composer:v2
- name: ♻️ Cache Composer packages
uses: actions/cache@v4
with:
path: ~/.composer/cache
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- name: 📦 Install dependencies
run: composer install --no-interaction --no-progress --prefer-dist
- name: 🧪 Run PHPUnit tests
env:
CI: true
run: composer run-script test
- name: 📄 Validate README & composer.json
run: |
test -f README.md
composer validate --no-check-all
- name: 🐳 Docker Build Check
run: docker build -t maatify/bootstrap:test -f docker/Dockerfile .