Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make CI's YAML file uniform #6

Merged
merged 1 commit into from
Sep 21, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 9 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jobs:
php-version: ['7.2', '7.3', '7.4', '8.0', '8.1']
coverage: ['pcov']
include:
- { php-version: '7.1', coverage: 'xdebug' }
- php-version: '7.1'
coverage: xdebug

name: Test with PHP ${{ matrix.php-version }}

Expand Down Expand Up @@ -50,7 +51,7 @@ jobs:
- name: Set package version for Composer
uses: ergebnis/composer-root-version-action@0.2.1
with:
branch: "main"
branch: main

- name: Install dependencies
run: |
Expand All @@ -68,7 +69,7 @@ jobs:
runs-on: ubuntu-latest

env:
PHP_VERSION: 7.4
PHP_VERSION: '7.4'

steps:
- name: Checkout code
Expand All @@ -94,7 +95,7 @@ jobs:
- name: Set package version for Composer
uses: ergebnis/composer-root-version-action@0.2.1
with:
branch: "main"
branch: main

- name: Install dependencies
run: |
Expand All @@ -120,8 +121,8 @@ jobs:
runs-on: ubuntu-latest

env:
PHP_VERSION: 7.4
PHP_CS_FIXER_VERSION: v3.0.0
PHP_VERSION: '7.4'
PHP_CS_FIXER_VERSION: 'v3.0.0'

steps:
- name: Checkout
Expand All @@ -137,8 +138,8 @@ jobs:
uses: actions/cache@v2
with:
path: .php_cs.cache
key: "php-cs-fixer"
restore-keys: "php-cs-fixer"
key: php-cs-fixer
restore-keys: php-cs-fixer

- name: Run PHP-CS-Fixer, version ${{ env.PHP_CS_FIXER_VERSION }}
run: |
Expand Down