Skip to content

Update code-style.yml #143

Update code-style.yml

Update code-style.yml #143

Workflow file for this run

name: Tests
on: [ push, pull_request ]
permissions: read-all
jobs:
laravel:
runs-on: ${{ secrets.RUNNER_NAME }}

Check failure on line 9 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 9, Col: 18): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.RUNNER_NAME
strategy:
fail-fast: true
matrix:
php: [ "8.1", "8.2", "8.3" ]
laravel: [ "10.0", "11.0" ]
exclude:
- laravel: "11.0"
php: "8.1"
name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv
coverage: xdebug
- name: Install dependencies
run: composer require laravel/framework:^${{ matrix.laravel }}
- name: Execute tests
run: php vendor/bin/pest --compact