Skip to content

Commit a5e3c0f

Browse files
committed
Simplify workflow
1 parent d4f6334 commit a5e3c0f

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ on:
66

77
jobs:
88
test:
9-
# Don't run the tests on internal PRs
10-
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
11-
129
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
1310
runs-on: 'ubuntu-latest'
1411

@@ -21,35 +18,15 @@ jobs:
2118
- "9"
2219
- "10"
2320

24-
env:
25-
extensions: ctype, dom, grpc, json, mbstring, openssl, xml, zip, zlib
26-
key: cache-unit-5x-${{ matrix.php }}-v1
27-
2821
steps:
2922
- name: Checkout code
3023
uses: actions/checkout@v3
3124

32-
- name: Setup cache environment
33-
id: extcache
34-
uses: shivammathur/cache-extensions@v1
35-
with:
36-
php-version: ${{ matrix.php }}
37-
extensions: ${{ env.extensions }}
38-
key: ${{ env.key }}
39-
40-
- name: Cache extensions
41-
uses: actions/[email protected]
42-
with:
43-
path: ${{ steps.extcache.outputs.dir }}
44-
key: ${{ steps.extcache.outputs.key }}
45-
restore-keys: ${{ steps.extcache.outputs.key }}
46-
4725
- name: Setup PHP
4826
uses: shivammathur/setup-php@v2
4927
with:
5028
php-version: ${{ matrix.php }}
51-
extensions: ${{ env.extensions }}
52-
tools: composer, pecl
29+
extensions: ctype, dom, grpc, json, mbstring, openssl, xml, zip, zlib
5330
coverage: xdebug
5431

5532
- name: Install dependencies

0 commit comments

Comments
 (0)