Skip to content

poprawa komunikatu o nieaktualnej wersji PHP na serwerze #64

poprawa komunikatu o nieaktualnej wersji PHP na serwerze

poprawa komunikatu o nieaktualnej wersji PHP na serwerze #64

Workflow file for this run

name: Check PHP Code
on:
pull_request:
branches:
- 5.*-dev
push:
branches:
- 5.*-dev
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
check-php-code:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.1', '8.3']
permissions: read-all
steps:
- name: Checkout Source Code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Check PHP syntax errors for PHP 8.1
if: matrix.php == '8.1'
uses: StephaneBour/[email protected]
with:
dir: '.'
- name: Check PHP syntax errors for PHP 8.3
if: matrix.php == '8.2'
uses: StephaneBour/[email protected]
with:
dir: '.'