Skip to content

Commit

Permalink
Remove YAML anchors
Browse files Browse the repository at this point in the history
  • Loading branch information
MacFJA committed Jan 15, 2022
1 parent 16869cf commit 231129f
Showing 1 changed file with 34 additions and 6 deletions.
40 changes: 34 additions & 6 deletions .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- &setup-php
- #&setup-php
name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
extensions: intl, mbstring
coverage: xdebug
- &composer-cache
- #&composer-cache
name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
Expand All @@ -28,8 +28,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- *setup-php
- *composer-cache
- #*setup-php
name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
extensions: intl, mbstring
coverage: xdebug
- #*composer-cache
name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.json,') }}
restore-keys: |
${{ runner.os }}-php-
- name: Run unit test
id: make-test
run: make test
Expand All @@ -38,7 +52,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- *setup-php
- *composer-cache
- #*setup-php
name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
extensions: intl, mbstring
coverage: xdebug
- #*composer-cache
name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.json,') }}
restore-keys: |
${{ runner.os }}-php-
- name: Code coverage
run: make coverage

0 comments on commit 231129f

Please sign in to comment.