forked from rectorphp/rector-src
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (25 loc) · 893 Bytes
/
code_analysis_no_dev.yaml
File metadata and controls
31 lines (25 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Code Analysis [no dev]
on:
pull_request: null
env:
# see https://github.com/composer/composer/issues/9368#issuecomment-718112361
COMPOSER_ROOT_VERSION: "dev-main"
jobs:
code_analysis_no_dev:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
# see https://github.com/shivammathur/setup-php
- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
coverage: none
# must be cleared, as local config is missing dev dependencies
- run: |
rm phpstan-for-rector.neon
touch phpstan-for-rector.neon
- run: |
composer install --ansi
composer install --no-progress --ansi --no-dev
- run: bin/rector list --ansi