Skip to content

Commit

Permalink
Merge pull request #115 from localheinz/feature/variable
Browse files Browse the repository at this point in the history
Enhancement: Extract environment variable
  • Loading branch information
localheinz authored Feb 5, 2020
2 parents 396c45b + 9e33998 commit b8ab3c2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:

name: "Continuous Integration"

env:
REQUIRED_PHP_EXTENSIONS: "mbstring"

jobs:
coding-standards:
name: "Coding Standards"
Expand All @@ -25,7 +28,7 @@ jobs:
uses: "shivammathur/[email protected]"
with:
coverage: "none"
extensions: "mbstring"
extensions: "${{ env.REQUIRED_PHP_EXTENSIONS }}"
php-version: "${{ matrix.php-version }}"

- name: "Validate composer.json and composer.lock"
Expand Down Expand Up @@ -70,7 +73,7 @@ jobs:
uses: "shivammathur/[email protected]"
with:
coverage: "none"
extensions: "mbstring"
extensions: "${{ env.REQUIRED_PHP_EXTENSIONS }}"
php-version: "${{ matrix.php-version }}"

- name: "Cache dependencies installed with composer"
Expand Down Expand Up @@ -119,7 +122,7 @@ jobs:
uses: "shivammathur/[email protected]"
with:
coverage: "none"
extensions: "mbstring"
extensions: "${{ env.REQUIRED_PHP_EXTENSIONS }}"
php-version: "${{ matrix.php-version }}"

- name: "Cache dependencies installed with composer"
Expand Down

0 comments on commit b8ab3c2

Please sign in to comment.