Skip to content

Commit 060ff3b

Browse files
authored
Check codestyle
1 parent f0b0a25 commit 060ff3b

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/check-cs.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Check Codestyle
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
fix-style:
10+
name: Fix Code Style
11+
timeout-minutes: 15
12+
runs-on: ubuntu-latest
13+
env:
14+
COMPOSER_NO_INTERACTION: 1
15+
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v2
19+
20+
- name: Setup PHP
21+
uses: shivammathur/setup-php@v2
22+
with:
23+
php-version: 7.4
24+
coverage: none
25+
tools: composer
26+
27+
- name: Install dependencies
28+
run: |
29+
composer update --prefer-dist --no-suggest --no-progress
30+
31+
- name: Check Code Style
32+
run: vendor/bin/phpcs

0 commit comments

Comments
 (0)