Skip to content

Update CHANGELOG

Update CHANGELOG #50

name: Compatibility Check
on:
push:
branches:
- main
- refactor/**
- feature/**
- fix/**
jobs:
check-compatibility:
runs-on: ${{ matrix.os }}
timeout-minutes: 5
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.2, 8.3]
laravel: [9.*, 10.*, 11.*]
name: PHP ${{ matrix.php }} on ${{ matrix.os }} - Laravel ${{ matrix.laravel }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: curl, mbstring, json, openssl
coverage: none
- name: Install Composer
run: composer self-update
- name: Create Laravel project
run: composer create-project --prefer-dist laravel/laravel laravel-project "${{ matrix.laravel }}" --no-progress --no-interaction
- name: Navigate to Laravel project
working-directory: ./laravel-project
run: |
# Add local package path
composer config repositories.local path ../
# Require the package
composer require jerome/fetch-php:* --no-update
- name: Install dependencies
working-directory: ./laravel-project
run: composer update --prefer-dist --no-progress --no-suggest
- name: Run Laravel tests (if applicable)
working-directory: ./laravel-project
run: php artisan test