Skip to content

Commit

Permalink
Add the phplint github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
andergmartins committed Oct 8, 2020
1 parent 7278a50 commit 086e5ff
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/phplint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: PHPLint

on: [push]

jobs:
phplint:

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v1
with:
php-version: '7.4'
extensions: intl

- name: Update the composer.lock file
run: composer update --lock

- name: Validate composer.json and composer.lock
run: composer validate

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest

- name: Check syntax errors
run: ./vendor/bin/phplint

0 comments on commit 086e5ff

Please sign in to comment.