Skip to content

Commit 3136163

Browse files
committed
update actions
1 parent 951b56d commit 3136163

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/php.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ jobs:
3232
- name: Checkout
3333
uses: actions/checkout@v2
3434

35+
- uses: actions/cache@v2
36+
with:
37+
path: ~/.composer/cache/files
38+
key: ${{ matrix.php }}
39+
3540
- name: Set ENV vars
3641
# https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#setting-an-environment-variable
3742
run: |
@@ -41,11 +46,6 @@ jobs:
4146
- name: Display Env
4247
run: env
4348

44-
- uses: actions/cache@v2
45-
with:
46-
path: ~/.composer/cache/files
47-
key: ${{ matrix.php }}
48-
4949
# usage refer https://github.com/shivammathur/setup-php
5050
- name: Setup PHP
5151
timeout-minutes: 5
@@ -68,7 +68,7 @@ jobs:
6868
cat changelog.md
6969
7070
# phpunit -v --debug
71-
# phpdbg -dauto_globals_jit=Off -qrr $(which phpunit) --coverage-clover ./test/clover.info
71+
# phpdbg -dauto_globals_jit=Off-qrr $(which phpunit) --coverage-clover ./test/clover.info
7272
- name: Run test suite
7373
run: |
7474
php example/flags-demo.php -h

0 commit comments

Comments
 (0)