Skip to content

ci: Add runTests.sh #1793

ci: Add runTests.sh

ci: Add runTests.sh #1793

Workflow file for this run

name: Check requirements
on:
pull_request:
branches:
- "**"
push:
branches:
- "main"
jobs:
check:
name: Check Requirements
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
coverage: none
- run: php .github/scripts/composer-require-check.php