mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-20 01:52:22 +00:00
[CI] simplify rector runs (#5969)
This commit is contained in:
parent
a94a4b7660
commit
649cb249a1
5
.github/workflows/code_analysis.yaml
vendored
5
.github/workflows/code_analysis.yaml
vendored
|
@ -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
|
||||
|
|
17
.github/workflows/rector.yaml
vendored
17
.github/workflows/rector.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user