Skip to content

Commit

Permalink
Simplify composer install step
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Jun 1, 2024
1 parent 611c088 commit 3580126
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,22 +113,8 @@ jobs:
phpts: ${{ matrix.ts }}
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# - name: Get composer cache directory
# id: composer-cache
# run: echo "::set-output name=dir::$(composer config cache-files-dir)"

# - name: Set Up Composer Cache
# uses: actions/cache@v3
# with:
# path: ${{ steps.composer-cache.outputs.dir }}
# key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
# restore-keys: ${{ runner.os }}-composer-

- name: Install Project Dependencies
run: |
echo "::group::Install composer dependencies"
composer install --prefer-dist --no-interaction --no-ansi --no-progress
echo "::endgroup::"
run: composer install --prefer-dist --no-interaction --no-ansi --no-progress

- name: Fast Commands Test
run: php zephir --help
Expand Down

0 comments on commit 3580126

Please sign in to comment.