Bump squizlabs/php_codesniffer from 3.11.1 to 3.11.2 #98
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: CI | |
permissions: | |
checks: write | |
contents: read | |
pull-requests: read | |
on: | |
workflow_dispatch: | |
workflow_call: | |
push: | |
branches: [ "main", "release" ] | |
pull_request: | |
branches: [ "main", "release" ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-version: [ '8.2', '8.3' ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-version }} | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-progress | |
- name: Validate Composer | |
run: composer validate | |
- name: Run PHPCS | |
run: | | |
composer run lint | |
- name: Start PHP development server | |
run: php -S 0.0.0.0:8747 -t src & | |
- name: Check development server status | |
run: | | |
curl http://localhost:8747 | |
echo "Development server is running" | |
- name: Run Codeception tests | |
run: | | |
php make-password.php $GITHUB_REF | |
vendor/bin/codecept run --steps | |