fix CI
Tests & Lint & Deploy to Railway / build (2.6.6, 20.x, 8.3) (push) Has been cancelled Details

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:
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