Skip to content

Commit

Permalink
update php.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Am K committed Sep 2, 2023
1 parent 955ad32 commit b14ae62
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: build

on:
push:
branches: [ "master" ]
branches: [ "main" ]
pull_request:
branches: [ "master" ]
branches: [ "main" ]

permissions:
contents: read
Expand All @@ -17,6 +17,9 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Run Syntax Checker
run: find . -type f -name '*.php' -print -exec php -l {} \;

- name: Install dependencies
run: composer update --lock

Expand Down

0 comments on commit b14ae62

Please sign in to comment.