Skip to content

Commit

Permalink
Merge pull request #11 from sequra/Add-syntax-check-action
Browse files Browse the repository at this point in the history
Add php syntax check
  • Loading branch information
m1k3lm authored Feb 20, 2024
2 parents f661f87 + 4672846 commit db83954
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 db83954

Please sign in to comment.