Skip to content

Commit 58e6bd9

Browse files
committed
Updated actions
1 parent 2926aed commit 58e6bd9

File tree

8 files changed

+24
-33
lines changed

8 files changed

+24
-33
lines changed

.github/workflows/infection.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
args: --prefer-dist
2222
php_version: '8.2'
2323
php_extensions: zip
24-
2524
- name: Infection
2625
run: |
2726
wget -q https://github.com/infection/infection/releases/download/0.26.18/infection.phar

.github/workflows/phpstan-5.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
args: --prefer-dist
1717
php_version: '8.2'
1818
php_extensions: zip
19-
2019
- name: PHPStan
2120
uses: php-actions/phpstan@v3
2221
with:

.github/workflows/phpstan-6.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
args: --prefer-dist
1717
php_version: '8.2'
1818
php_extensions: zip
19-
2019
- name: PHPStan
2120
uses: php-actions/phpstan@v3
2221
with:

.github/workflows/phpstan-7.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
args: --prefer-dist
1717
php_version: '8.2'
1818
php_extensions: zip
19-
2019
- name: PHPStan
2120
uses: php-actions/phpstan@v3
2221
with:

.github/workflows/phpstan-8.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
args: --prefer-dist
1717
php_version: '8.2'
1818
php_extensions: zip
19-
2019
- name: PHPStan
2120
uses: php-actions/phpstan@v3
2221
with:

.github/workflows/phpunit.yaml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,27 @@ jobs:
44
phpunit:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v3
8-
- uses: shivammathur/setup-php@v2
9-
with:
10-
php-version: '8.2'
11-
tools: composer:v2
12-
coverage: pcov
13-
- uses: actions/cache@v3
14-
with:
15-
path: '**/vendor'
16-
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
17-
restore-keys: |
18-
${{ runner.os }}-composer-
19-
- uses: php-actions/composer@v6
20-
with:
21-
args: --prefer-dist
22-
php_version: '8.2'
23-
24-
- name: Run tests & generate Coverage
25-
run: bin/phpunit functional --coverage-html var/coverage
26-
27-
- name: Store coverage files
28-
uses: actions/upload-artifact@v3
29-
with:
30-
path: var/coverage
7+
- uses: actions/checkout@v3
8+
- uses: shivammathur/setup-php@v2
9+
with:
10+
php-version: '8.2'
11+
tools: composer:v2
12+
coverage: pcov
13+
extensions: zip, xdebug
14+
- uses: actions/cache@v3
15+
with:
16+
path: '**/vendor'
17+
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
18+
restore-keys: |
19+
${{ runner.os }}-composer-
20+
- uses: php-actions/composer@v6
21+
with:
22+
args: --prefer-dist
23+
php_version: '8.2'
24+
php_extensions: zip xdebug
25+
- name: Run tests & generate Coverage
26+
run: bin/phpunit --coverage-html var/coverage
27+
- name: Store coverage files
28+
uses: actions/upload-artifact@v3
29+
with:
30+
path: var/coverage

.github/workflows/quality.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ jobs:
1515
wget -q https://cs.symfony.com/download/php-cs-fixer-v3.phar -O php-cs-fixer
1616
chmod a+x php-cs-fixer
1717
PHP_CS_FIXER_IGNORE_ENV=true ./php-cs-fixer fix src --dry-run -vvv
18-
1918
phpstan:
2019
runs-on: ubuntu-latest
2120
steps:

.github/workflows/rector.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ jobs:
1212
-
1313
if: github.event.pull_request.head.repo.full_name == github.repository
1414
uses: actions/checkout@v3
15-
with:
16-
# Must be used to trigger workflow after push
17-
token: ${{ secrets.ACCESS_TOKEN }}
1815

1916
-
2017
uses: shivammathur/setup-php@v2

0 commit comments

Comments
 (0)