aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorVincent Peugnet <33429034+vincent-peugnet@users.noreply.github.com>2020-12-22 12:35:31 +0100
committerGitHub <noreply@github.com>2020-12-22 12:35:31 +0100
commitf30ec46d410f4c0bf986929e132f8a9efd4d0530 (patch)
tree9baaa6e940c85e018273a48b410e24c94e32d8fb /.github
parent8a8aebc3606c9ad7a59c93df90b2e591709bb717 (diff)
parentf6cc150d7052751d5c226ff8050db90d57355ed7 (diff)
downloadwcms-f30ec46d410f4c0bf986929e132f8a9efd4d0530.tar.gz
wcms-f30ec46d410f4c0bf986929e132f8a9efd4d0530.zip
Merge pull request #130 from n-peugnet/deps
build(deps): fix github ci
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/php.yml11
1 files changed, 8 insertions, 3 deletions
diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml
index 9cccc26..767b7fc 100644
--- a/.github/workflows/php.yml
+++ b/.github/workflows/php.yml
@@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
- php: ['7.2', '7.3', '7.4']
+ php: ['7.3', '7.4']
include:
- os: windows-latest
php: '7.4'
@@ -44,7 +44,7 @@ jobs:
${{ runner.os }}-composer-
- name: Install dependencies
- run: composer install --prefer-dist --no-progress --no-suggest
+ run: composer install --prefer-dist --no-progress
- name: PHPUnit
run: |
@@ -66,6 +66,11 @@ jobs:
- name: Git checkout
uses: actions/checkout@v2
+ - name: Setup PHP, with composer and extensions
+ uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
+ with:
+ php-version: '7.4'
+
- name: Validate composer.json and composer.lock
run: composer validate
@@ -82,7 +87,7 @@ jobs:
${{ runner.os }}-composer-
- name: Install dependencies
- run: composer install --prefer-dist --no-progress --no-suggest
+ run: composer install --prefer-dist --no-progress
- name: PHPCS
if: always()