diff --git a/.github/workflows/qa.yaml b/.github/workflows/qa.yaml index 299551f6..6488b07d 100644 --- a/.github/workflows/qa.yaml +++ b/.github/workflows/qa.yaml @@ -29,8 +29,8 @@ jobs: with: php-version: 7.4 coverage: none - tools: composer:v2, pecl - extensions: mongodb + tools: composer:v2 + extensions: mongodb-1.9.0, zip - name: Install Composer dependencies (highest) uses: "ramsey/composer-install@v1" @@ -54,8 +54,8 @@ jobs: with: php-version: 7.4 coverage: none - tools: composer:v2, pecl - extensions: mongodb + tools: composer:v2 + extensions: mongodb-1.9.0, zip - name: Install Composer dependencies (highest) uses: "ramsey/composer-install@v1" diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 489b4a93..8e34a87a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -60,8 +60,8 @@ jobs: with: php-version: ${{ matrix.php-version }} coverage: pcov - tools: composer:v2, pecl - extensions: mongodb-1.9.0 + tools: composer:v2 + extensions: mongodb-1.9.0, zip - name: Add PHPUnit matcher run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" diff --git a/.yamllint b/.yamllint index f742af8f..74dd9180 100644 --- a/.yamllint +++ b/.yamllint @@ -2,10 +2,19 @@ # # It's auto-generated by sonata-project/dev-kit package. +ignore: vendor/ + extends: default rules: + comments: disable + comments-indentation: disable document-start: disable - line-length: - max: 120 - level: warning + empty-lines: + max: 1 + max-start: 0 + max-end: 0 + line-length: disable + truthy: + allowed-values: ['true', 'false'] + check-keys: false diff --git a/Makefile b/Makefile index 411edb5c..241cb4b7 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ lint-composer: .PHONY: lint-composer lint-yaml: - yaml-lint --ignore-non-yaml-files --quiet --exclude vendor . + yamllint . .PHONY: lint-yaml diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 053e5244..45bd84cd 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -32,7 +32,8 @@ It's auto-generated by sonata-project/dev-kit package. - + +