This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored the .gitlab-ci.yml file to reduce redundancy and improve t…
…he workflow. This change introduces a .install-dependencies stage to the CI configuration, which removes the repetitive task of specifying the same 'image' and 'composer install' for each job. It also updates the phpstan and phpunit from being a dev-dependency in the composer.json file to be installed via phive, providing version isolation and ensuring that the tools will not conflict with the project's dependencies. Furthermore, the Laravel pint package was updated to version v1.13.6. This change was made to streamline the build process and keep dependencies up-to-date.
- Loading branch information
Showing
3 changed files
with
25 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phive xmlns="https://phar.io/phive"> | ||
<phar name="phpstan" version="^1.10.34" installed="1.10.34" location="./tools/phpstan" copy="true"/> | ||
<phar name="phpunit" version="^10.4.1" installed="10.4.1" location="./tools/phpunit" copy="true"/> | ||
</phive> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters