Skip to content

Commit 9cceb04

Browse files
committed
:octocat: CI updates
1 parent 0c9f3c1 commit 9cceb04

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/ci.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
steps:
3434
- name: "Checkout"
35-
uses: actions/checkout@v3
35+
uses: actions/checkout@v4
3636

3737
- name: "Install PHP"
3838
uses: shivammathur/setup-php@v2
@@ -56,7 +56,7 @@ jobs:
5656

5757
steps:
5858
- name: "Checkout sources"
59-
uses: actions/checkout@v3
59+
uses: actions/checkout@v4
6060

6161
- name: "Install PHP"
6262
uses: shivammathur/setup-php@v2
@@ -95,7 +95,7 @@ jobs:
9595

9696
steps:
9797
- name: "Checkout"
98-
uses: actions/checkout@v3
98+
uses: actions/checkout@v4
9999

100100
- name: "Fetch cacert.pem from curl.haxx.se"
101101
run: curl -o tests/cacert.pem https://curl.haxx.se/ca/cacert.pem
@@ -114,7 +114,10 @@ jobs:
114114
run: php vendor/phpunit/phpunit/phpunit --configuration=phpunit.xml.dist
115115

116116
- name: "Send code coverage report to Codecov.io"
117-
uses: codecov/codecov-action@v3
117+
uses: codecov/codecov-action@v4
118+
with:
119+
token: ${{ secrets.CODECOV_TOKEN }}
120+
files: .build/coverage/clover.xml
118121

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

phpunit.xml.dist

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
44
bootstrap="vendor/autoload.php"
55
cacheResultFile=".build/phpunit.result.cache"
66
colors="true"

0 commit comments

Comments
 (0)