From fdfafa291d1fd8320d92eb573ba90331aa5cbdee Mon Sep 17 00:00:00 2001 From: Oleg Kozlov Date: Sat, 2 Dec 2023 22:44:42 +0300 Subject: [PATCH] Update actions in CI --- .github/workflows/testing.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index a143103..4ec4faa 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -32,10 +32,10 @@ jobs: - name: Get Composer Cache Directory id: composer-cache-dir run: | - echo "::set-output name=dir::$(composer config cache-files-dir)" + echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache Composer packages - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.composer-cache-dir.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -72,7 +72,7 @@ jobs: --coverage-html=coverage/phpunit/html \ --coverage-clover=coverage/phpunit/clover.xml - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v3 with: name: Coverage report path: coverage