generated from Laravel-Lang/translations-template
-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andrey Helldar
authored
Dec 1, 2021
1 parent
c001b4e
commit 48dbb46
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: "Laravel 8" | ||
on: [ push ] | ||
|
||
jobs: | ||
laravel: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: true | ||
matrix: | ||
php: [ "7.3", "7.4", "8.0", "8.1" ] | ||
laravel: [ "8.0" ] | ||
|
||
name: PHP ${{ matrix.php }} | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
extensions: curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv | ||
coverage: none | ||
env: | ||
COMPOSER_TOKEN: ${{ secrets.COMPOSER_TOKEN }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
composer require laravel/framework:^${{ matrix.laravel }} | ||
composer update --prefer-stable --prefer-dist --no-progress --no-interaction | ||
- name: Execute tests | ||
run: sudo vendor/bin/phpunit |