Skip to content

Merge pull request #92 from LeoFeitosa/texto-verificacao-email #66

Merge pull request #92 from LeoFeitosa/texto-verificacao-email

Merge pull request #92 from LeoFeitosa/texto-verificacao-email #66

Workflow file for this run

name: lucascudo/laravel-pt-br-localization
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Create a new project
run: composer create-project --prefer-dist laravel/laravel blog
- name: Scaffold the lang directory
run: php artisan lang:publish
working-directory: ./blog
- name: Installs laravel-pt-br-localization
run: composer require lucascudo/laravel-pt-br-localization --dev
working-directory: ./blog
- name: Clean vendor directory
run: rm -rf blog/vendor/lucascudo/laravel-pt-br-localization/*
- name: Override laravel-pt-br-localization content at vendor directory
run: cp -rf composer.json src blog/vendor/lucascudo/laravel-pt-br-localization/
- name: Publish translations
run: php artisan vendor:publish --tag=laravel-pt-br-localization
working-directory: ./blog
- name: Verify pt_BR.json
run: test -f pt_BR.json
working-directory: ./blog/lang
- name: Verify auth.php
run: test -f auth.php
working-directory: ./blog/lang/pt_BR
- name: Verify pagination.php
run: test -f pagination.php
working-directory: ./blog/lang/pt_BR
- name: Verify passwords.php
run: test -f passwords.php
working-directory: ./blog/lang/pt_BR
- name: Verify validation.php
run: test -f validation.php
working-directory: ./blog/lang/pt_BR
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md
# - name: Run test suite
# run: composer run-script test