Skip to content

Commit

Permalink
up: update the github action script
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Sep 24, 2021
1 parent d7ac28c commit a86db07
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
matrix:
php: [7.3, 7.4, 8.0] #
os: [ubuntu-latest, macOS-latest] # windows-latest,
include:
- os: 'ubuntu-latest'
php: '7.2'
phpunit: '8.5.13'
# include:
# - os: 'ubuntu-latest'
# php: '7.2'
# phpunit: '8.5.13'

steps:
- name: Checkout
Expand All @@ -47,7 +47,7 @@ jobs:
coverage: none #optional, setup coverage driver: xdebug, none

- name: Install dependencies
run: composer install --no-progress --no-suggest
run: composer install --no-progress

# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.3]
php: [8.0]

steps:
- name: Checkout
Expand All @@ -40,7 +40,7 @@ jobs:
run: |
tag1=${GITHUB_REF#refs/*/}
echo "release tag: ${tag1}"
composer install --no-progress --no-suggest
composer install --no-progress
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md
Expand Down

0 comments on commit a86db07

Please sign in to comment.