Skip to content

Commit

Permalink
ci: format yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrixx committed Mar 15, 2024
1 parent c89f2b4 commit f1e8c77
Showing 1 changed file with 45 additions and 49 deletions.
94 changes: 45 additions & 49 deletions .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

0 comments on commit f1e8c77

Please sign in to comment.