From caafa73a1b45c8dfa7a9f10485ddd11726f6f891 Mon Sep 17 00:00:00 2001 From: aslan Date: Sat, 10 Feb 2024 14:30:32 +0300 Subject: [PATCH] fix CI --- .gitea/workflows/php.yml | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/php.yml b/.gitea/workflows/php.yml index 28227b4..0121093 100644 --- a/.gitea/workflows/php.yml +++ b/.gitea/workflows/php.yml @@ -14,22 +14,22 @@ jobs: strategy: matrix: - php-versions: [ '8.3' ] + php-version: [ '8.3' ] node-version: ['20.x'] + composer-version: ['2.6.6'] steps: - uses: actions/checkout@v4 - - name: Set up PHP ${{ matrix.php-versions }} + - name: Set up PHP ${{ matrix.php-version }} uses: shivammathur/setup-php@v2 with: - php-version: ${{ matrix.php-versions }} + php-version: ${{ matrix.php-version }} coverage: xdebug - extensions: :opcache, mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite - tools: composer:v2.6.6 + extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite + tools: composer:${{ matrix.composer-version }} ini-values: opcache.enable_cli=1, opcache.jit=tracing, opcache.jit_buffer_size=64M env: - GITHUB_TOKEN: ${{ secrets.GITHUBTOKEN }} debug: true - name: PHP Security Checker @@ -45,14 +45,10 @@ jobs: sudo curl -o ~/.composer/keys.tags.pub -sL https://composer.github.io/releases.pub sudo curl -o ~/.composer/keys.dev.pub -sL https://composer.github.io/snapshots.pub -# - name: Diagnose composer +# - name: Install dependencies # env: -# COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works -# run: composer diagnose -vvv - - name: Install dependencies - env: - COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works - run: composer install # will work +# COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works +# run: composer install # will work - name: Setup project run: make setup