Merge pull request #46062 from nextcloud/ci/noid/parallel-cs-check

feat(CI): Speed up cs:check with parallelism
This commit is contained in:
Joas Schilling 2024-06-24 11:49:41 +02:00 committed by GitHub
commit 8c944f44df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,9 +8,11 @@ declare(strict_types=1);
require_once './vendor-bin/cs-fixer/vendor/autoload.php';
use Nextcloud\CodingStandard\Config;
use PhpCsFixer\Runner\Parallel\ParallelConfigFactory;
$config = new Config();
$config
->setParallelConfig(ParallelConfigFactory::detect())
->getFinder()
->ignoreVCSIgnored(true)
->exclude('config')