Skip to content

Commit

Permalink
force composer version
Browse files Browse the repository at this point in the history
  • Loading branch information
xiCO2k committed Dec 17, 2024
1 parent 4649580 commit f96a662
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 4 additions & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 4 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
]
},
"branch-alias": {
"dev-main": "2.x-dev",
"dev-2.x": "2.x-dev"
}
}
Expand Down

0 comments on commit f96a662

Please sign in to comment.