diff --git a/.github/workflows/cs.yml b/.github/workflows/cs.yml index f3053d4..1571a46 100644 --- a/.github/workflows/cs.yml +++ b/.github/workflows/cs.yml @@ -23,8 +23,11 @@ jobs: tools: composer:v2 coverage: none + - name: Set Version + run: composer config version "2.x-dev" + - name: Install PHP dependencies - run: composer update --${{ matrix.dependency-version }} --ignore-platform-reqs --no-interaction --no-progress + run: composer update --${{ matrix.dependency-version }} --no-interaction --no-progress - name: Run Pint run: php vendor/bin/pint --test -v diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index ad099d9..0e0e210 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -22,8 +22,11 @@ jobs: tools: composer:v2 coverage: none + - name: Set Version + run: composer config version "2.x-dev" + - name: Install Dependencies - run: composer update --prefer-stable --ignore-platform-reqs --no-interaction --no-progress + run: composer update --prefer-stable --no-interaction --no-progress - name: Run PHPStan run: vendor/bin/phpstan analyse --no-progress diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 26ea0c1..eef913e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,8 +28,11 @@ jobs: echo "::add-matcher::${{ runner.tool_cache }}/php.json" echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" + - name: Set Version + run: composer config version "2.x-dev" + - name: Install PHP dependencies - run: composer update --${{ matrix.dependency-version }} --ignore-platform-reqs --no-interaction --no-progress + run: composer update --${{ matrix.dependency-version }} --no-interaction --no-progress - name: Integration Tests run: php vendor/bin/pest --colors=always diff --git a/composer.json b/composer.json index 215d11b..90ba93b 100644 --- a/composer.json +++ b/composer.json @@ -64,7 +64,6 @@ ] }, "branch-alias": { - "dev-main": "2.x-dev", "dev-2.x": "2.x-dev" } }