Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ name: Test

on:
push:
branches:
- main
branches: [ 'main' ]
pull_request:
types: [ opened, synchronize, reopened ]
types: [ 'opened', 'synchronize', 'reopened' ]

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
php-version: [ 8.0, 8.1 ]
php-version: [ '8.0', '8.1 ']

steps:
- name: Checkout source code
Expand All @@ -37,8 +37,9 @@ jobs:
- name: Validate composer.json and composer.lock
run: composer validate

- name: Install Dependencies
run: composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress --no-suggest

- name: Execute Static Code analysis
run: composer analyse
Expand Down