Skip to content

Commit

Permalink
Dodanie sprawdzania poprawności kodu php
Browse files Browse the repository at this point in the history
  • Loading branch information
wojsmol committed Apr 13, 2024
1 parent cbba9c5 commit e06692e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/check-php-code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Check PHP Code

on:
pull_request:
branches:
- 5.*-dev
push:
# 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
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
uses: StephaneBour/[email protected]
with:
dir: '.'

0 comments on commit e06692e

Please sign in to comment.