Skip to content

Commit 25836a6

Browse files
authored
Create laravel.yml
1 parent 592eb10 commit 25836a6

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/laravel.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Laravel
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
laravel-tests:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Copy .env
17+
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
18+
- name: Install Dependencies
19+
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
20+
- name: Generate key
21+
run: php artisan key:generate
22+
- name: Directory Permissions
23+
run: chmod -R 777 storage bootstrap/cache

0 commit comments

Comments
 (0)