From f525550daf2156498925007ceb3946f1d6cecf11 Mon Sep 17 00:00:00 2001 From: Wilmer Date: Sat, 12 Feb 2022 11:57:04 -0300 Subject: [PATCH] Simplify workflows. --- .github/workflows/build.yml | 12 ------------ .github/workflows/mutation.yml | 11 ----------- .github/workflows/static.yml | 11 ----------- 3 files changed, 34 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 09f17cc37..41ba0395d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -77,18 +77,6 @@ jobs: coverage: pcov tools: composer:v2, pecl - - name: Determine composer cache directory - if: matrix.os == 'ubuntu-latest' - run: echo "COMPOSER_CACHE_DIR=$(composer config cache-dir)" >> $GITHUB_ENV - - - name: Cache dependencies installed with composer - uses: actions/cache@v2 - with: - path: ${{ env.COMPOSER_CACHE_DIR }} - key: php${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }} - restore-keys: | - php${{ matrix.php }}-composer- - - name: Update composer run: composer self-update diff --git a/.github/workflows/mutation.yml b/.github/workflows/mutation.yml index 21b0a6faf..d3ee1c0c1 100644 --- a/.github/workflows/mutation.yml +++ b/.github/workflows/mutation.yml @@ -63,17 +63,6 @@ jobs: coverage: pcov tools: composer:v2, pecl - - name: Determine composer cache directory - run: echo "COMPOSER_CACHE_DIR=$(composer config cache-dir)" >> $GITHUB_ENV - - - name: Cache dependencies installed with composer - uses: actions/cache@v2 - with: - path: ${{ env.COMPOSER_CACHE_DIR }} - key: php${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }} - restore-keys: | - php${{ matrix.php }}-composer- - - name: Update composer run: composer self-update diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 4484d3c19..bc793b20b 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -52,17 +52,6 @@ jobs: coverage: none tools: composer:v2, cs2pr, pecl, - - name: Determine composer cache directory - run: echo "COMPOSER_CACHE_DIR=$(composer config cache-dir)" >> $GITHUB_ENV - - - name: Cache dependencies installed with composer - uses: actions/cache@v1 - with: - path: ${{ env.COMPOSER_CACHE_DIR }} - key: php${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }} - restore-keys: | - php${{ matrix.php }}-composer- - - name: Update composer run: composer self-update