Skip to content

Commit

Permalink
simplify and stop building packages (#24)
Browse files Browse the repository at this point in the history
* simplify and stop building packages

* remove phpunit version
  • Loading branch information
TomK authored Aug 25, 2021
1 parent c81b2dd commit 9790453
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,32 +15,20 @@ jobs:
strategy:
matrix:
php: [ 7.3, 7.4, 8.0 ]
phpunit: [ 9 ]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Get Composer Cache Directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Composer Cache
uses: actions/cache@v2
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-
php-version: ${{ matrix.php }}
- name: Composer Install
uses: php-actions/composer@v6
with:
php_version: ${{ matrix.php }}
run: composer install --prefer-dist --no-progress
- name: PHPUnit
uses: php-actions/phpunit@v3
with:
version: ${{ matrix.phpunit }}
php_version: ${{ matrix.php }}
configuration: phpunit.xml
run: vendor/bin/phpunit

release:
name: Release
Expand Down

0 comments on commit 9790453

Please sign in to comment.