Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ba2012f7ed | ||
|
|
934e383e86 | ||
|
|
217af75139 | ||
|
|
78c3878ec8 | ||
|
|
39c9443c09 | ||
|
|
ac772a624b | ||
|
|
969e224f32 | ||
|
|
46c333cdf5 | ||
|
|
f056f1c96c | ||
|
|
59bdcd9bc7 | ||
|
|
ed38b5ef1b | ||
|
|
dcc2284503 | ||
|
|
aca120e7c9 | ||
|
|
e03719ca80 | ||
|
|
956054f7cd | ||
|
|
5f134450e0 |
18
action.yml
18
action.yml
@@ -1,6 +1,6 @@
|
|||||||
name: Laravel Test Runner
|
name: Laravel Test Runner
|
||||||
author: apoloz
|
author: apoloz
|
||||||
description: "This action will run your Laravel application's test suite."
|
description: "This action will run your Laravel application's test suite. v2"
|
||||||
|
|
||||||
branding:
|
branding:
|
||||||
color: 'purple'
|
color: 'purple'
|
||||||
@@ -21,11 +21,23 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- if: inputs.setup == 'true'
|
- if: inputs.setup == 'true'
|
||||||
name: Setup PHP
|
name: Setup PHP
|
||||||
uses: apoloz/setup-php@v2
|
uses: http://10.55.5.123:3000/apoloz/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: ${{ inputs.php-version }}
|
php-version: ${{ inputs.php-version }}
|
||||||
|
extensions: sqlite3
|
||||||
|
tools: composer:v2
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GHTKN }}
|
||||||
|
|
||||||
|
- name: Cache Vendor
|
||||||
|
id: cache-vendor
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: vendor
|
||||||
|
key: ${{ runner.os }}-vendor-${{ hashFiles('**/composer.lock') }}
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
|
if: steps.cache-vendor.outputs.cache-hit != 'true' # Skip if cache hit
|
||||||
run: |
|
run: |
|
||||||
composer install --no-progress --prefer-dist --optimize-autoloader
|
composer install --no-progress --prefer-dist --optimize-autoloader
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user