Skip to content

Commit 4794910

Browse files
authored
Merge pull request #139 from GW2Treasures/ci/update-github-workflow-actions
2 parents c4770ca + 4163635 commit 4794910

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
phar: true
3636

3737
steps:
38-
- uses: actions/checkout@v3
38+
- uses: actions/checkout@v4
3939

4040
- uses: shivammathur/setup-php@v2
4141
with:
@@ -53,7 +53,7 @@ jobs:
5353
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
5454

5555
- name: Cache dependencies
56-
uses: actions/cache@v3
56+
uses: actions/cache@v4
5757
with:
5858
path: ${{ steps.composer-cache.outputs.dir }}
5959
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
@@ -75,7 +75,7 @@ jobs:
7575
run: vendor/bin/phpunit --configuration phpunit.xml --bootstrap build/autoload.php
7676

7777
- name: Download base coverage
78-
uses: dawidd6/action-download-artifact@v2
78+
uses: dawidd6/action-download-artifact@v3
7979
if: github.event_name == 'pull_request' && matrix.phar == false
8080
continue-on-error: true
8181
with:
@@ -86,22 +86,22 @@ jobs:
8686
workflow: .github/workflows/ci.yml
8787
- name: Report coverage
8888
if: github.event_name == 'pull_request' && matrix.phar == false
89-
uses: lucassabreu/comment-coverage-clover@v0.9.1
89+
uses: lucassabreu/comment-coverage-clover@v0.12.0
9090
with:
9191
base-file: ./coverage-base/clover.xml
9292
file: ./clover.xml
9393
with-chart: false
9494
signature: PHP ${{ matrix.php }}
9595

9696
- name: Upload coverage
97-
uses: actions/upload-artifact@v3
97+
uses: actions/upload-artifact@v4
9898
if: matrix.phar == false
9999
with:
100100
name: coverage-${{ matrix.php }}
101101
path: ./clover.xml
102102

103103
- name: Upload phar
104-
uses: actions/upload-artifact@v3
104+
uses: actions/upload-artifact@v4
105105
if: matrix.phar
106106
with:
107107
name: phar

0 commit comments

Comments
 (0)