Skip to content

Commit

Permalink
Added code style checks to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
robvanaarle committed Jun 9, 2022
1 parent 7cde95a commit b9e36e2
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Code style
on:
push:
pull_request:
types: [closed]
branches: [main]

jobs:
phpcs:
name: PHP CodeSniffer
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install dependencies
uses: php-actions/composer@v6

- name: Check code style
run: vendor/bin/phpcs

0 comments on commit b9e36e2

Please sign in to comment.