Skip to content

Commit 6876f52

Browse files
committed
🔧
1 parent a35234c commit 6876f52

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

.github/workflows/ci.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,12 @@ jobs:
2626
fail-fast: true
2727
matrix:
2828
php-version:
29-
- "8.1"
30-
- "8.2"
31-
- "8.3"
32-
33-
env:
34-
PHAN_ALLOW_XDEBUG: 0
35-
PHAN_DISABLE_XDEBUG_WARN: 1
29+
- "8.4"
30+
- "8.5"
3631

3732
steps:
3833
- name: "Checkout"
39-
uses: actions/checkout@v4
34+
uses: actions/checkout@v7
4035

4136
- name: "Install PHP"
4237
uses: shivammathur/setup-php@v2
@@ -46,8 +41,14 @@ jobs:
4641
ini-values: ${{ env.PHP_INI_VALUES }}
4742
coverage: none
4843

49-
- name: "Update dependencies with composer"
50-
uses: ramsey/composer-install@v3
44+
- name: "Validate composer.json"
45+
run: composer validate --ansi --strict --with-dependencies --no-interaction --verbose
46+
47+
- name: "Install dependencies with composer"
48+
uses: ramsey/composer-install@v4
49+
50+
- name: "Run PHP_CodeSniffer"
51+
run: php vendor/bin/phpcs -v
5152

5253
- name: "Run phan"
5354
run: php vendor/bin/phan --target-php-version=${{ matrix.php-version }}
@@ -65,13 +66,12 @@ jobs:
6566
- ubuntu-latest
6667
- windows-latest
6768
php-version:
68-
- "8.1"
69-
- "8.2"
70-
- "8.3"
69+
- "8.4"
70+
- "8.5"
7171

7272
steps:
7373
- name: "Checkout"
74-
uses: actions/checkout@v4
74+
uses: actions/checkout@v7
7575

7676
- name: "Fetch cacert.pem from curl.se"
7777
run: curl -o ./tests/cacert.pem https://curl.se/ca/cacert.pem
@@ -91,7 +91,7 @@ jobs:
9191
run: php vendor/phpunit/phpunit/phpunit --configuration=phpunit.xml.dist
9292

9393
- name: "Send code coverage report to Codecov.io"
94-
uses: codecov/codecov-action@v4
94+
uses: codecov/codecov-action@v7
9595
with:
9696
token: ${{ secrets.CODECOV_TOKEN }}
9797
files: .build/coverage/clover.xml
@@ -110,12 +110,12 @@ jobs:
110110

111111
steps:
112112
- name: "Checkout sources"
113-
uses: actions/checkout@v4
113+
uses: actions/checkout@v7
114114

115115
- name: "Install PHP"
116116
uses: shivammathur/setup-php@v2
117117
with:
118-
php-version: "8.3"
118+
php-version: "8.4"
119119
tools: phpDocumentor
120120
extensions: simplexml
121121
coverage: none

0 commit comments

Comments
 (0)