Skip to content

Commit

Permalink
Add php syntax check
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k3lm committed Feb 20, 2024
1 parent f661f87 commit 4672846
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: PHP tests
on: [push, pull_request]
jobs:
php-linter:
name: PHP Syntax check 7.4|8.1|8.2
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.0.0

- name: PHP syntax checker 7.4
uses: prestashop/github-action-php-lint/7.4@master
- name: PHP syntax checker 8.1
uses: prestashop/github-action-php-lint/8.1@master
- name: PHP syntax checker 8.2
uses: prestashop/github-action-php-lint/8.2@master
# - name: PHP syntax checker 8.3
# uses: prestashop/github-action-php-lint/8.3@master

0 comments on commit 4672846

Please sign in to comment.