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

This commit is contained in:
aslan 2024-02-10 14:10:13 +03:00
parent 95f2c72231
commit 03690516f5
1 changed files with 22 additions and 23 deletions

View File

@ -19,27 +19,26 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: add GITHUB_TOKEN
run: echo ${{ secrets.GH_TOKEN }}
# - name: Set up PHP ${{ matrix.php-versions }}
# uses: shivammathur/setup-php@v2
# with:
# php-version: ${{ matrix.php-versions }}
# coverage: xdebug
# extensions: :opcache, mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite
# tools: composer:v2.6.6
# 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
# uses: StephaneBour/actions-php-security-checker@1.1
#
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v3
# with:
# node-version: ${{ matrix.node-version }}
- name: Set up PHP ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: xdebug
extensions: :opcache, mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite
tools: composer:v2.6.6
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
uses: StephaneBour/actions-php-security-checker@1.1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
# - name: Add keys
# run: |
@ -56,8 +55,8 @@ jobs:
# COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works
# run: composer install # will work
# - name: add GITHUB_TOKEN
# run: composer config --global github-oauth.github.com ${{ secrets.GITHUBTOKEN }} && echo ${{ secrets.GITHUBTOKEN }}
- name: add GITHUB_TOKEN
run: composer config --global github-oauth.github.com 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
#
# - name: Setup project
# run: make setup