Skip to content

Commit

Permalink
Merge pull request #2 from Oksydan/develop
Browse files Browse the repository at this point in the history
Github actions update
  • Loading branch information
Oksydan authored Apr 20, 2023
2 parents fc158ea + 7b2d73c commit b9367b7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: PHP tests

on: [push, pull_request]

jobs:
php-linter:
name: PHP Syntax check 7.4 => 8.1
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.0.0
uses: actions/checkout@v3

- name: PHP syntax checker 7.4
uses: prestashop/github-action-php-lint/7.4@master
Expand All @@ -27,10 +29,10 @@ jobs:
php-version: '8.1'

- name: Checkout
uses: actions/checkout@v2.0.0
uses: actions/checkout@v3

- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: vendor
key: php-${{ hashFiles('composer.lock') }}
Expand Down

0 comments on commit b9367b7

Please sign in to comment.