From 28d8fdc584ac5427821967bb7ccc16b44e2ec2e4 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sat, 3 Dec 2022 18:34:55 +0100 Subject: [PATCH] Bump GitHub actions versions and fix deprecated syntax for variables Signed-off-by: William Desportes --- .github/workflows/lint-and-analyse-php.yml | 2 +- .github/workflows/other-tools.yml | 2 +- .github/workflows/test-selenium.yml | 4 ++-- .github/workflows/tests.yml | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lint-and-analyse-php.yml b/.github/workflows/lint-and-analyse-php.yml index a43b539a94..7543dbdd5e 100644 --- a/.github/workflows/lint-and-analyse-php.yml +++ b/.github/workflows/lint-and-analyse-php.yml @@ -25,7 +25,7 @@ jobs: - name: Get Yarn cache directory path id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" + run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Cache Yarn dependencies uses: actions/cache@v3 diff --git a/.github/workflows/other-tools.yml b/.github/workflows/other-tools.yml index 7b255f8393..8427efb261 100644 --- a/.github/workflows/other-tools.yml +++ b/.github/workflows/other-tools.yml @@ -60,7 +60,7 @@ jobs: - name: Get Yarn cache directory path id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" + run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Cache Yarn dependencies uses: actions/cache@v3 diff --git a/.github/workflows/test-selenium.yml b/.github/workflows/test-selenium.yml index ec53b175c0..2ba5fa861b 100644 --- a/.github/workflows/test-selenium.yml +++ b/.github/workflows/test-selenium.yml @@ -88,7 +88,7 @@ jobs: - name: Get Yarn cache directory path id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" + run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Cache Yarn dependencies uses: actions/cache@v3 @@ -111,7 +111,7 @@ jobs: SKIP_STANDALONE: 1 run: | ./test/start-local-server - echo ::set-output name=SELENIUM_TEMPDIR::"$(cat /tmp/last_temp_dir_phpMyAdminTests)" + echo "SELENIUM_TEMPDIR=$(cat /tmp/last_temp_dir_phpMyAdminTests)" >> $GITHUB_OUTPUT id: start-local-server - name: Run Selenium tests diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 693461ef7a..111b64f3dd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -109,7 +109,7 @@ jobs: run: composer run phpunit -- ${{ matrix.phpunit-options }} - name: Send coverage - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v3 with: flags: unit-${{ matrix.php-version }}-${{ matrix.os }} name: phpunit-${{ matrix.php-version }}-${{ matrix.os }} @@ -168,7 +168,7 @@ jobs: run: composer run phpunit -- --testsuite unit - name: Send coverage - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v3 with: flags: ${{ matrix.extension }}-extension name: php-7.2-${{ matrix.extension }}-enabled @@ -204,7 +204,7 @@ jobs: - name: Get Yarn cache directory path id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" + run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Cache Yarn dependencies uses: actions/cache@v3