mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-12 04:32:11 +00:00
cleanup
This commit is contained in:
@@ -24,10 +24,6 @@ jobs:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- lowest
|
- lowest
|
||||||
- highest
|
- highest
|
||||||
# include:
|
|
||||||
# - os: ubuntu-latest
|
|
||||||
# php-version: '7.2'
|
|
||||||
# phpunit-version: '8.5.2'
|
|
||||||
name: PHPUnit Tests
|
name: PHPUnit Tests
|
||||||
steps:
|
steps:
|
||||||
- name: Configure git to avoid issues with line endings
|
- name: Configure git to avoid issues with line endings
|
||||||
@@ -46,16 +42,9 @@ jobs:
|
|||||||
- name: Get composer cache directory
|
- name: Get composer cache directory
|
||||||
id: composer-cache
|
id: composer-cache
|
||||||
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
|
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
|
||||||
# - name: Determine composer cache directory on Linux
|
|
||||||
# if: matrix.os == 'ubuntu-latest'
|
|
||||||
# run: echo "COMPOSER_CACHE_DIR=$(./tools/composer config cache-dir)" >> $GITHUB_ENV
|
|
||||||
# - name: Determine composer cache directory on Windows
|
|
||||||
# if: matrix.os == 'windows-latest'
|
|
||||||
# run: ECHO "COMPOSER_CACHE_DIR=~\AppData\Local\Composer" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
|
||||||
- name: Cache dependencies
|
- name: Cache dependencies
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
# path: ${{ env.COMPOSER_CACHE_DIR }}
|
|
||||||
path: ${{ steps.composer-cache.outputs.dir }}
|
path: ${{ steps.composer-cache.outputs.dir }}
|
||||||
key: php${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('**/composer.json') }}
|
key: php${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('**/composer.json') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
|
|||||||
Reference in New Issue
Block a user