Skip to content

Commit

Permalink
chore(ci): remove composer cache
Browse files Browse the repository at this point in the history
Signed-off-by: Valery Piashchynski <piashchynski.valery@gmail.com>
  • Loading branch information
rustatian committed Jun 27, 2024
1 parent 634f55a commit b92b58a
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,26 +28,6 @@ jobs:
- name: Check out code
uses: actions/checkout@v4

- name: Set output directory on Linux
if: runner.os == 'Linux'
run: |
cd tests
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Set output directory on Windows
if: runner.os == 'Windows'
run: |
cd tests
echo "dir=$(composer config cache-files-dir)" >> $env:GITHUB_OUTPUT
shell: pwsh

- name: Init Composer Cache # Docs: <https://git.io/JfAKn#php---composer>
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ matrix.php }}-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-

- name: Install Composer dependencies
run: cd tests && composer update --prefer-dist --no-progress --ansi

Expand Down

0 comments on commit b92b58a

Please sign in to comment.