Skip to content

Commit 78a921e

Browse files
author
Jeremiah VALERIE
committed
Fix disabled validator build step
1 parent 07e04a2 commit 78a921e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ jobs:
8787
if: matrix.graphql-version != ''
8888
run: composer req "webonyx/graphql-php:${{ matrix.graphql-version }}" --dev --no-update
8989

90+
- name: "Disabled validator if needed"
91+
if: matrix.validator == false
92+
run: composer remove "symfony/validator" --dev --no-update;
93+
9094
- name: "Install dependencies"
9195
run: composer update --no-interaction --no-progress ${{ matrix.composer-flags }}
9296

@@ -98,10 +102,6 @@ jobs:
98102
if: matrix.symfony-deprecation-helper != ''
99103
run: export SYMFONY_DEPRECATIONS_HELPER=${{ matrix.symfony-deprecation-helper }}
100104

101-
- name: "Disabled validor if needed"
102-
if: matrix.validator == false
103-
run: export VALIDATOR=0
104-
105105
- name: "Run tests"
106106
run: composer test
107107

0 commit comments

Comments
 (0)