Skip to content

Commit b16a5d8

Browse files
committed
add github tests for codestyles
1 parent eaa0fcc commit b16a5d8

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.github/workflows/codestyle.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Run PHP-CS-Fixer
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v4
11+
12+
- uses: actions/cache@v3
13+
with:
14+
path: .php-cs-fixer.cache
15+
key: ${{ runner.OS }}-${{ github.repository }}-phpcsfixer-${{ github.sha }}
16+
restore-keys: |
17+
${{ runner.OS }}-${{ github.repository }}-phpcsfixer-
18+
19+
- uses: docker://oskarstark/php-cs-fixer-ga
20+
21+

.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Run Shepherd
1+
name: Run PHPStan
22

33
on: [pull_request]
44

0 commit comments

Comments
 (0)