diff --git a/.github/workflows/composer-install.yml b/.github/workflows/composer-install.yml deleted file mode 100644 index 415a1565..00000000 --- a/.github/workflows/composer-install.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Composer Install - -on: - workflow_call: - -jobs: - composer-install: - name: Composer Install - runs-on: ubuntu-latest - steps: - - name: Configure PHP environment - uses: shivammathur/setup-php@v2 - with: - tools: composer:2 - php-version: '8.2' - - - name: Get Composer Cache Directory - id: composer-cache - run: | - echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - - - uses: actions/cache@v4 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} - restore-keys: | - ${{ runner.os }}-composer- - - - name: Install 1Password CLI - uses: 1password/install-cli-action@v1 - - - name: Create auth.json via 1Password CLI - env: - OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }} - run: | - op user get --me - op inject -i auth.template.json -o auth.json - - - name: Install Composer - run: | - composer install --ignore-platform-reqs --optimize-autoloader --no-progress - rm auth.json