Skip to content

Commit 5b22d34

Browse files
authored
Reorder Composer installation step in workflow
1 parent e4044eb commit 5b22d34

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/php.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,6 @@ jobs:
9595
- uses: actions/checkout@v5
9696
with:
9797
working-directory: /var/www/html/apps/
98-
- name: Install and Cache Composer dependencies
99-
uses: ramsey/composer-install@v3
100-
with:
101-
working-directory: /var/www/html/apps/solid
102-
env:
103-
COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}'
10498
- name: Debug info
10599
run: |
106100
echo " =====> PWD:'$PWD'"
@@ -111,6 +105,12 @@ jobs:
111105
ls -lA "${GITHUB_WORKSPACE}/solid/"
112106
echo ' =====> /var/www/html/apps/solid'
113107
ls -lA "/var/www/html/apps/solid"
108+
- name: Install and Cache Composer dependencies
109+
uses: ramsey/composer-install@v3
110+
with:
111+
working-directory: /var/www/html/apps/solid
112+
env:
113+
COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}'
114114
- name: Run PHPUnit
115115
run: |
116116
${GITHUB_WORKSPACE}/solid/bin/phpunit \

0 commit comments

Comments
 (0)