From bea534723146bbf4679039baadafd4b3c9d203ec Mon Sep 17 00:00:00 2001 From: Pietro Campagnano Date: Mon, 27 Apr 2026 11:16:03 +0200 Subject: [PATCH] Revert "Use released PHAR instead of composer install in architectural-rules" This reverts commit f37a0224ba48ee85b931d84d50946ac0c9be7eee. --- .github/workflows/architectural-rules.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/architectural-rules.yml b/.github/workflows/architectural-rules.yml index 03b2051e..169ff2ea 100644 --- a/.github/workflows/architectural-rules.yml +++ b/.github/workflows/architectural-rules.yml @@ -20,11 +20,12 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: '8.2' + tools: composer:v2.2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Download phparkitect - run: curl -LS https://github.com/phparkitect/arkitect/releases/latest/download/phparkitect.phar -o phparkitect.phar + - name: Install dependencies + run: composer install --prefer-dist - name: PHPArkitect - run: php phparkitect.phar check + run: php bin-stub/phparkitect check