Skip to content

Commit 05f1f32

Browse files
committed
:octocat: CI update
1 parent 99c706d commit 05f1f32

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/tests.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
steps:
3535
- name: "Checkout"
36-
uses: actions/checkout@v3
36+
uses: actions/checkout@v4
3737

3838
- name: "Install PHP"
3939
uses: shivammathur/setup-php@v2
@@ -44,7 +44,7 @@ jobs:
4444
extensions: ast, gd, imagick, json, mbstring
4545

4646
- name: "Update dependencies with composer"
47-
uses: ramsey/composer-install@v2
47+
uses: ramsey/composer-install@v3
4848

4949
- name: "Run phan"
5050
run: php vendor/bin/phan --target-php-version=${{ matrix.php-version }}
@@ -71,7 +71,7 @@ jobs:
7171

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

7676
- name: "Install PHP with extensions"
7777
uses: shivammathur/setup-php@v2
@@ -82,15 +82,16 @@ jobs:
8282
extensions: gd, imagick, json, mbstring
8383

8484
- name: "Install dependencies with composer"
85-
uses: ramsey/composer-install@v2
85+
uses: ramsey/composer-install@v3
8686

8787
- name: "Run tests with phpunit"
8888
run: php vendor/bin/phpunit --colors=always --configuration=phpunit.xml.dist
8989

9090
- name: "Send code coverage report to Codecov.io"
91-
uses: codecov/codecov-action@v3
91+
uses: codecov/codecov-action@v4
9292
with:
93-
files: .build/coverage/clover.xml
93+
token: ${{ secrets.CODECOV_TOKEN }}
94+
files: .build/coverage/clover.xml
9495

9596
- name: "Send code coverage report to Codacy"
9697
uses: codacy/codacy-coverage-reporter-action@v1

0 commit comments

Comments
 (0)