[CI] simplify rector runs (#5969)

This commit is contained in:
Tomas Votruba 2021-03-24 00:00:42 +01:00 committed by GitHub
parent a94a4b7660
commit 649cb249a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 20 deletions

View File

@ -17,11 +17,6 @@ jobs:
name: 'Composer Validate'
run: composer validate --strict --ansi
# make sure skipped files have "skip_" prefix
-
name: Validate Fixtures skip file prefix
run: vendor/symplify/easy-testing/bin/easy-testing validate-fixture-skip-naming rules tests
-
name: 'Validate Max File Length'
run: vendor/bin/easy-ci validate-file-length packages rules src tests

View File

@ -25,10 +25,8 @@ jobs:
fail-fast: false
matrix:
directories:
- packages
- packages-tests
- src
- tests
- src tests
- packages packages-tests
- rules
- rules-tests
@ -55,17 +53,6 @@ jobs:
php-version: 7.3
coverage: none
- uses: actions/cache@v2.1.4
env:
cache-name: rector-container-cache
with:
path: tmp
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('${{ matrix.directories }}') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- run: composer install --no-progress --ansi
## First run Rector - here can't be --dry-run !!! it would stop the job with it and not commit anything in the future