From f1e8c771f6f874c1d330454f7c55a855b5134827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Pineau?= Date: Fri, 15 Mar 2024 13:44:02 +0100 Subject: [PATCH] ci: format yaml --- .github/workflows/ci.yml | 94 +++++++++++++++++++--------------------- 1 file changed, 45 insertions(+), 49 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6731f3e..d282603 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,53 +1,49 @@ name: Continuous Integration -'on': - push: - branches: - - main - pull_request: - branches: - - main +"on": + push: + branches: + - main + pull_request: + branches: + - main jobs: - ci: - name: Run the tests suite - runs-on: ubuntu-latest - strategy: - matrix: - php-versions: - - '8.1' - - '8.2' - - '8.3' - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: '${{ matrix.php-versions }}' - extensions: mbstring, dom - tools: jolicode/castor - - - name: Validate composer.json and composer.lock - run: composer validate --strict - - - name: Install dependencies - run: castor install - - - - name: Install quality tools - run: castor qa:install - - - - name: Check coding standards - run: castor qa:cs --dry-run - - - - name: Run PHPStan - run: castor qa:phpstan - - - - name: Run tests - run: castor qa:phpunit + ci: + name: Run the tests suite + runs-on: ubuntu-latest + strategy: + matrix: + php-versions: + - "8.1" + - "8.2" + - "8.3" + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: "${{ matrix.php-versions }}" + extensions: mbstring, dom + tools: jolicode/castor + + - name: Validate composer.json and composer.lock + run: composer validate --strict + + - name: Install dependencies + run: castor install + + - name: Install quality tools + run: castor qa:install + + - name: Check coding standards + run: castor qa:cs --dry-run + + - name: Run PHPStan + run: castor qa:phpstan + + - name: Run tests + run: castor qa:phpunit