Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Commit 30c58cd

Browse files
Merge pull request #373 from technote-space/chore/chore-sync-workflows
chore: sync workflows
2 parents 7b803ff + 83e035a commit 30c58cd

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ jobs:
6969
run: echo "RUNNING=" >> $GITHUB_ENV
7070
if: "! env.GIT_DIFF"
7171

72+
- name: Switch PHP version
73+
uses: shivammathur/setup-php@v2
74+
with:
75+
php-version: 7.4
76+
tools: composer:v1
77+
if: env.RUNNING
7278
- name: Get Composer Cache Directory
7379
id: composer-cache
7480
run: |
@@ -108,6 +114,11 @@ jobs:
108114
run: echo "RUNNING=" >> $GITHUB_ENV
109115
if: "! env.GIT_DIFF"
110116

117+
- name: Switch PHP version
118+
uses: shivammathur/setup-php@v2
119+
with:
120+
php-version: 7.4
121+
tools: composer:v1
111122
- name: Get Composer Cache Directory
112123
id: composer-cache
113124
run: |

.github/workflows/update-dependencies.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ jobs:
3232
if: env.RUNNING1
3333
with:
3434
EXCLUDE_MERGED: 'true'
35+
- name: Switch PHP version
36+
uses: shivammathur/setup-php@v2
37+
with:
38+
php-version: 7.4
39+
tools: composer:v1
3540
- name: Update dependencies
3641
if: env.RUNNING1
3742
id: update_deps

0 commit comments

Comments
 (0)