This commit is contained in:
aslan 2024-02-10 14:30:32 +03:00
parent eb4206e86d
commit caafa73a1b
1 changed files with 9 additions and 13 deletions

View File

@ -14,22 +14,22 @@ jobs:
strategy: strategy:
matrix: matrix:
php-versions: [ '8.3' ] php-version: [ '8.3' ]
node-version: ['20.x'] node-version: ['20.x']
composer-version: ['2.6.6']
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up PHP ${{ matrix.php-versions }} - name: Set up PHP ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
with: with:
php-version: ${{ matrix.php-versions }} php-version: ${{ matrix.php-version }}
coverage: xdebug coverage: xdebug
extensions: :opcache, mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite
tools: composer:v2.6.6 tools: composer:${{ matrix.composer-version }}
ini-values: opcache.enable_cli=1, opcache.jit=tracing, opcache.jit_buffer_size=64M ini-values: opcache.enable_cli=1, opcache.jit=tracing, opcache.jit_buffer_size=64M
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUBTOKEN }}
debug: true debug: true
- name: PHP Security Checker - 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.tags.pub -sL https://composer.github.io/releases.pub
sudo curl -o ~/.composer/keys.dev.pub -sL https://composer.github.io/snapshots.pub sudo curl -o ~/.composer/keys.dev.pub -sL https://composer.github.io/snapshots.pub
# - name: Diagnose composer # - name: Install dependencies
# env: # env:
# COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works # COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works
# run: composer diagnose -vvv # run: composer install # will work
- name: Install dependencies
env:
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works
run: composer install # will work
- name: Setup project - name: Setup project
run: make setup run: make setup