Skip to content

Commit cedf00a

Browse files
committed
Fix order of steps
1 parent dae6001 commit cedf00a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/diagnostics.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ jobs:
4040
path: ~/.cache/composer
4141
key: ${{ runner.os }}-build-${{ env.cache-name }}
4242

43-
- name: Install composer dependencies
44-
run: composer install
45-
4643
- name: Cache vendor directory
4744
uses: actions/cache@v1
4845
env:
@@ -53,9 +50,6 @@ jobs:
5350
restore-keys: |
5451
${{ runner.os }}-build-${{ env.cache-name }}-
5552
56-
- name: Install phpcq toolchain
57-
run: ./vendor/bin/phpcq ${{ matrix.phpcq_install }} -v
58-
5953
- name: Cache phpcq directory
6054
uses: actions/cache@v1
6155
env:
@@ -66,6 +60,12 @@ jobs:
6660
restore-keys: |
6761
${{ runner.os }}-build-${{ env.cache-name }}-
6862
63+
- name: Install composer dependencies
64+
run: composer install
65+
66+
- name: Install phpcq toolchain
67+
run: ./vendor/bin/phpcq ${{ matrix.phpcq_install }} -v
68+
6969
- name: Run tests
7070
run: ./vendor/bin/phpcq run -v ${{ matrix.output }}
7171

0 commit comments

Comments
 (0)