Skip to content

Korekta nazwy dodatku, etykiet i opisu #50

Korekta nazwy dodatku, etykiet i opisu

Korekta nazwy dodatku, etykiet i opisu #50

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/actions-php-lint@8.1
with:
dir: '.'
- name: Check PHP syntax errors for PHP 8.3
if: matrix.php == '8.2'
uses: StephaneBour/actions-php-lint@8.3
with:
dir: '.'