From 6ff4688b9bdeb0e515b27291a69fc00690766e6a Mon Sep 17 00:00:00 2001 From: Cesar Date: Fri, 20 Oct 2023 13:51:17 +0200 Subject: [PATCH] change actions --- .github/workflows/analyse.yml | 9 --------- .github/workflows/fix_style.yml | 10 +--------- .github/workflows/test.yml | 10 ---------- 3 files changed, 1 insertion(+), 28 deletions(-) diff --git a/.github/workflows/analyse.yml b/.github/workflows/analyse.yml index 4f6b37a..dfab8ff 100644 --- a/.github/workflows/analyse.yml +++ b/.github/workflows/analyse.yml @@ -19,16 +19,7 @@ jobs: with: php-version: 8.2 - - name: Cache Composer packages - id: composer-cache - uses: actions/cache@v2 - with: - path: vendor - key: ${{ runner.os }}-php-8.2-${{ hashFiles('**/composer.lock') }} - restore-keys: | - ${{ runner.os }}-php-8.2- - name: Install dependencies - if: steps.composer-cache.outputs.cache-hit != 'true' run: | composer install composer dump diff --git a/.github/workflows/fix_style.yml b/.github/workflows/fix_style.yml index 90a4a45..e49e618 100644 --- a/.github/workflows/fix_style.yml +++ b/.github/workflows/fix_style.yml @@ -16,19 +16,11 @@ jobs: with: php-version: 8.2 - - name: Cache Composer packages - id: composer-cache - uses: actions/cache@v3 - with: - path: vendor - key: ${{ runner.os }}-php-8.2-${{ hashFiles('**/composer.lock') }} - restore-keys: | - ${{ runner.os }}-php-8.2 - name: Install dependencies - if: steps.composer-cache.outputs.cache-hit != 'true' run: | composer install composer dump + - name: Fix styles run: vendor/bin/php-cs-fixer fix diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ee5b597..0a376a1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,17 +28,7 @@ jobs: - name: Validate composer.json and composer.lock run: composer validate - - name: Cache Composer packages - id: composer-cache - uses: actions/cache@v2 - with: - path: vendor - key: ${{ runner.os }}-php-${{ matrix.php }}-${{ hashFiles('**/composer.lock') }} - restore-keys: | - ${{ runner.os }}-php-${{ matrix.php }}- - - name: Install dependencies - if: steps.composer-cache.outputs.cache-hit != 'true' run: | composer install composer dump