diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3646c44..81d668d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -31,21 +31,19 @@ jobs: ini-file: development coverage: none - - name: Get Composer Cache Directory - id: composer-cache-dir - run: | - echo "::set-output name=dir::$(composer config cache-files-dir)" + - name: Get Composer cache directory + id: composer-cache + run: echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT" - name: Cache PHP Dependencies - id: composer-cache uses: actions/cache@v4 with: - path: ${{ steps.composer-cache-dir.outputs.dir }} + path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ matrix.php }}-${{ hashFiles('composer.json') }} - name: Install PHP Dependencies run: | - composer update --prefer-dist --no-progress --no-interaction + composer install --prefer-dist --no-progress --no-interaction - name: Run the tests run: |