Skip to content

Finish CourseResource.php file #110

Finish CourseResource.php file

Finish CourseResource.php file #110

Workflow file for this run

name: Laravel CI
on:
push:
branches:
- main
conditions: ${{ github.event_number % 3 == 0 }}

Check failure on line 7 in .github/workflows/laravel.yml

View workflow run for this annotation

GitHub Actions / Laravel CI

Invalid workflow file

The workflow is not valid. .github/workflows/laravel.yml (Line: 7, Col: 17): Unrecognized named-value: 'github'. Located at position 1 within expression: github.event_number % 3 == 0
jobs:
laravel-test:
name: Run Laravel tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
- name: Install Composer dependencies
run: composer install --prefer-dist --verbose --no-ansi --no-interaction --no-scripts
- name: Copy environment file
run: cp .env.example .env
- name: Generate application key
run: php artisan key:generate