Skip to content

Commit d337064

Browse files
committed
work on Github workflow until it works...
1 parent cd45b7a commit d337064

File tree

1 file changed

+13
-23
lines changed

1 file changed

+13
-23
lines changed

.github/workflows/php.yml

+13-23
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,22 @@ jobs:
1616
runs-on: ubuntu-latest
1717

1818
steps:
19-
- uses: actions/checkout@v3
20-
21-
- name: Validate composer.json and composer.lock
22-
run: bin/composer validate --strict
23-
24-
- name: Cache Composer packages
25-
id: composer-cache
26-
uses: actions/cache@v3
27-
with:
28-
path: vendor
29-
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
30-
restore-keys: |
31-
${{ runner.os }}-php-
32-
33-
- name: Install dependencies
34-
run: bin/composer install --prefer-dist --no-progress
19+
- uses: actions/checkout@v3
3520

36-
tests:
37-
name: Tests
21+
- name: Validate composer.json and composer.lock
22+
run: bin/composer validate --strict
3823

39-
runs-on: ubuntu-latest
24+
- name: Cache Composer packages
25+
id: composer-cache
26+
uses: actions/cache@v3
27+
with:
28+
path: vendor
29+
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
30+
restore-keys: |
31+
${{ runner.os }}-php-
4032
41-
steps:
42-
- name: Checkout
43-
uses: actions/checkout@v3
33+
- name: Install dependencies
34+
run: bin/composer install --prefer-dist --no-progress
4435

4536
- name: Run tests with phpunit
4637
run: bin/composer tests
@@ -51,7 +42,6 @@ jobs:
5142
token: 56f489e7-c92b-4851-bfc6-5fa9a93f0426
5243
files: reports/clover.xml
5344

54-
5545
quality:
5646
name: QualityAssurance
5747

0 commit comments

Comments
 (0)