Skip to content

Commit

Permalink
Merge pull request #43 from kitloong/feature/lint
Browse files Browse the repository at this point in the history
Feature/lint
  • Loading branch information
kitloong authored Jul 11, 2021
2 parents 820cf2f + 1fa05fb commit 34c9615
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 24 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "Style check"

on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'

jobs:
check:

runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, gd, redis, memcached
tools: composer:v2
coverage: none

- name: Install dependencies
run: composer install --prefer-dist --no-interaction

- name: phpcs
run: vendor/bin/phpcs
8 changes: 6 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Run tests
name: "Run tests"

on: [ push, pull_request ]
on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'

jobs:
test:
Expand Down
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2014 Bernhard Breytenbach
Copyright (c) 2020 Kit Loong Liow

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Laravel Migrations Generator

[![Build Status](https://travis-ci.org/kitloong/laravel-migrations-generator.svg)](https://travis-ci.org/kitloong/laravel-migrations-generator)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/kitloong/laravel-migrations-generator/badges/quality-score.png?b=4.x)](https://scrutinizer-ci.com/g/kitloong/laravel-migrations-generator/)
[![Latest Stable Version](https://poser.pugx.org/kitloong/laravel-migrations-generator/v/stable.png)](https://packagist.org/packages/kitloong/laravel-migrations-generator)
[![Total Downloads](http://poser.pugx.org/kitloong/laravel-migrations-generator/downloads)](https://packagist.org/packages/kitloong/laravel-migrations-generator)
[![License](https://poser.pugx.org/kitloong/laravel-migrations-generator/license.png)](https://packagist.org/packages/kitloong/laravel-migrations-generator)

Generate Laravel Migrations from an existing database, including indexes and foreign keys!
Expand Down

0 comments on commit 34c9615

Please sign in to comment.