Skip to content

Commit

Permalink
Merge pull request #47 from donatj/lint
Browse files Browse the repository at this point in the history
Run Linters as CI
  • Loading branch information
donatj authored Nov 25, 2022
2 parents 243de36 + 8a31bfb commit a2fc1fb
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
on:
- pull_request
- push

name: Lint

jobs:
run:
name: Tests

strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['8.1']

runs-on: ${{ matrix.operating-system }}

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

- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: sockets, json, curl

- name: Install dependencies with composer
run: composer install

- name: Lint
run: vendor/bin/phpcs

0 comments on commit a2fc1fb

Please sign in to comment.