Skip to content

Commit

Permalink
Updated GithubActions
Browse files Browse the repository at this point in the history
Updated checkout , cache , download-artifact and upload-artifact v3 to v4 according to deprecation warnings.
  • Loading branch information
Niels Verbaken committed Jun 17, 2024
1 parent c2605ac commit fb8724d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
max-parallel: 2

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: vendor
key: php-${{ matrix.version }}-${{ github.ref }}
Expand All @@ -45,7 +45,7 @@ jobs:
max-parallel: 1

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup PHP
id: setup-php
Expand All @@ -58,7 +58,7 @@ jobs:

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: vendor
key: php-${{ matrix.version }}-${{ github.ref }}
Expand All @@ -67,7 +67,7 @@ jobs:
run: php vendor/bin/phpunit --coverage-clover=coverage.xml --whitelist=./src ./tests

- name: Archive code coverage results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: code-coverage-report
path: coverage.xml
Expand All @@ -80,10 +80,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download code coverage results
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: code-coverage-report

Expand Down

0 comments on commit fb8724d

Please sign in to comment.