Skip to content

Commit 8c3cff7

Browse files
author
Quentin Schmick
authored
Updated to checkout v2 and added caching of composer dependencies (#252)
1 parent 45c7105 commit 8c3cff7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/laravel.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@ jobs:
66
laravel-tests:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v1
9+
- uses: actions/checkout@v2
10+
- name: Cache dependencies
11+
uses: actions/cache@v2
12+
with:
13+
path: ~/.composer/cache/files
14+
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
15+
restore-keys: |
16+
${{ runner.os }}-composer-
1017
- name: Install Dependencies
1118
run: composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
1219
- name: Execute tests (Unit and Feature tests) via PHPUnit

0 commit comments

Comments
 (0)