Skip to content

Commit

Permalink
Merge 950590a into 934e2b0
Browse files Browse the repository at this point in the history
  • Loading branch information
t3easy committed Mar 11, 2020
2 parents 934e2b0 + 950590a commit bfc02f3
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/code_coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,16 @@ on:
jobs:
code_coverage:
runs-on: ubuntu-latest
env:
COMPOSER_CACHE_DIR: ${{ github.workspace }}/.cache/composer
steps:
- uses: actions/checkout@v2.0.0
- uses: actions/cache@v1
with:
path: ${{ github.workspace }}/.cache
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- uses: shivammathur/setup-php@v1
with:
php-version: 7.3
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/php_cs_fixer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,16 @@ on:
jobs:
php-cs-fixer:
runs-on: ubuntu-latest
env:
COMPOSER_CACHE_DIR: ${{ github.workspace }}/.cache/composer
steps:
- uses: actions/checkout@v2.0.0
- uses: actions/cache@v1
with:
path: ${{ github.workspace }}/.cache
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- uses: shivammathur/setup-php@v1
with:
php-version: 7.2
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/phpstan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,16 @@ on:
jobs:
phpstan:
runs-on: ubuntu-latest
env:
COMPOSER_CACHE_DIR: ${{ github.workspace }}/.cache/composer
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v1
with:
path: ${{ github.workspace }}/.cache
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- uses: shivammathur/setup-php@v1
with:
php-version: 7.3
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,21 @@ on:
jobs:
tests:
runs-on: ubuntu-latest
env:
COMPOSER_CACHE_DIR: ${{ github.workspace }}/.cache/composer
strategy:
matrix:
php: ['7.2', '7.3', '7.4']

name: PHP ${{ matrix.php }} tests
steps:
- uses: actions/checkout@v2.0.0
- uses: actions/cache@v1
with:
path: ${{ github.workspace }}/.cache
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- uses: shivammathur/setup-php@v1
with:
php-version: ${{ matrix.php }}
Expand Down

0 comments on commit bfc02f3

Please sign in to comment.