Skip to content

Commit 06ac6c8

Browse files
committed
chore: update phpstan workflow
1 parent 5557fd8 commit 06ac6c8

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/phpstan.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ jobs:
77
name: phpstan
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v2
10+
- name: Checkout code
11+
uses: actions/checkout@v2
1112

1213
- name: Setup PHP
1314
uses: shivammathur/setup-php@v2
@@ -16,14 +17,8 @@ jobs:
1617
extensions: fileinfo, pdo
1718
coverage: none
1819

19-
- name: Cache composer dependencies
20-
uses: actions/cache@v2
21-
with:
22-
path: vendor
23-
key: composer-${{ hashFiles('composer.lock') }}
24-
25-
- name: Run composer install
26-
run: composer install -n --prefer-dist
20+
- name: Install dependencies
21+
run: composer install --no-interaction --prefer-dist
2722

2823
- name: Run phpstan
2924
run: ./vendor/bin/phpstan analyze

0 commit comments

Comments
 (0)