Skip to content

Merge branch 'master' of https://github.com/LaravelLegends/pt-br-vali… #26

Merge branch 'master' of https://github.com/LaravelLegends/pt-br-vali…

Merge branch 'master' of https://github.com/LaravelLegends/pt-br-vali… #26

Workflow file for this run

name: PHP Composer
on:
push:
branches: [ master, dev ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
# operating-system: [ubuntu-latest, windows-latest, macOS-latest]
operating-system: [ubuntu-latest]
php-versions: ['7.2', '7.3', '7.4', '8.0']
steps:
- uses: actions/checkout@v2
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Run test suite
run: composer test