diff --git a/.github/workflows/backend-ci.yaml b/.github/workflows/backend-ci.yaml index e2a9faf..fafd9f1 100644 --- a/.github/workflows/backend-ci.yaml +++ b/.github/workflows/backend-ci.yaml @@ -18,17 +18,12 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Setup PHP Action - uses: shivammathur/setup-php@v2 + - uses: ibexa/gh-workflows/actions/composer-install@main with: - php-version: ${{ matrix.php }} - coverage: none - extensions: 'pdo_sqlite, gd' - tools: cs2pr - - - uses: ramsey/composer-install@v3 - with: - dependency-versions: "highest" + gh-client-id: ${{ secrets.AUTOMATION_CLIENT_ID }} + gh-client-secret: ${{ secrets.AUTOMATION_CLIENT_SECRET }} + satis-network-key: ${{ secrets.SATIS_NETWORK_KEY }} + satis-network-token: ${{ secrets.SATIS_NETWORK_TOKEN }} - name: Run code style check run: composer run-script check-cs -- --format=checkstyle | cs2pr @@ -44,21 +39,17 @@ jobs: php: - '7.4' - '8.3' + - '8.4' steps: - uses: actions/checkout@v4 - - name: Setup PHP Action - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php }} - coverage: none - extensions: pdo_sqlite, gd - tools: cs2pr - - - uses: ramsey/composer-install@v3 + - uses: ibexa/gh-workflows/actions/composer-install@main with: - dependency-versions: "highest" + gh-client-id: ${{ secrets.AUTOMATION_CLIENT_ID }} + gh-client-secret: ${{ secrets.AUTOMATION_CLIENT_SECRET }} + satis-network-key: ${{ secrets.SATIS_NETWORK_KEY }} + satis-network-token: ${{ secrets.SATIS_NETWORK_TOKEN }} composer-options: "--prefer-dist --no-progress --no-suggest" - name: Setup problem matchers for PHPUnit diff --git a/composer.json b/composer.json index c4a9743..fd21e7c 100644 --- a/composer.json +++ b/composer.json @@ -7,8 +7,8 @@ ], "require": { "php": "^7.4 || ^8.0", - "ibexa/core": "4.6.x-dev", - "ibexa/doctrine-schema": "4.6.x-dev" + "ibexa/core": "4.6.x-dev || ^4.6", + "ibexa/doctrine-schema": "4.6.x-dev || ^4.6" }, "require-dev": { "ibexa/code-style": "~2.0.0",