From 69d9ec3b03fc77838e7367e8bc5cec686d4df05e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Wed, 31 Jan 2024 12:14:45 -0300 Subject: [PATCH] Update workflow actions versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MaurĂ­cio Meneghini Fauth --- .github/workflows/lint-and-analyse-php.yml | 6 +++--- .github/workflows/lock.yml | 4 ++-- .github/workflows/other-tools.yml | 8 ++++---- .github/workflows/test-selenium.yml | 6 +++--- .github/workflows/tests.yml | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/lint-and-analyse-php.yml b/.github/workflows/lint-and-analyse-php.yml index a08d189d80..d1b37de9d5 100644 --- a/.github/workflows/lint-and-analyse-php.yml +++ b/.github/workflows/lint-and-analyse-php.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 12 @@ -28,7 +28,7 @@ jobs: run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Cache Yarn dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -73,7 +73,7 @@ jobs: - name: Cache coding-standard # Allow the previous check to fail but not abort if: always() - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .phpcs-cache key: phpcs-cache diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index b4ec30d4d7..c3ed4182d2 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -13,8 +13,8 @@ jobs: issues: write # for dessant/lock-threads to lock issues runs-on: ubuntu-latest steps: - - uses: dessant/lock-threads@v2 + - uses: dessant/lock-threads@v5 with: github-token: ${{ github.token }} process-only: 'issues' - issue-lock-inactive-days: 365 + issue-inactive-days: 365 diff --git a/.github/workflows/other-tools.yml b/.github/workflows/other-tools.yml index 0decb6be14..8ba2c9d1fd 100644 --- a/.github/workflows/other-tools.yml +++ b/.github/workflows/other-tools.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.7' @@ -54,7 +54,7 @@ jobs: dependency-versions: highest - name: Set up Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 12 @@ -63,7 +63,7 @@ jobs: run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Cache Yarn dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -71,7 +71,7 @@ jobs: ${{ runner.os }}-yarn- - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.7' diff --git a/.github/workflows/test-selenium.yml b/.github/workflows/test-selenium.yml index 90c5dd91ca..03c2e25b81 100644 --- a/.github/workflows/test-selenium.yml +++ b/.github/workflows/test-selenium.yml @@ -82,7 +82,7 @@ jobs: dependency-versions: highest - name: Set up Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 12 @@ -91,7 +91,7 @@ jobs: run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Cache Yarn dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -138,7 +138,7 @@ jobs: ./test/stop-local-server - name: Upload screenshots - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() }} with: name: selenium-screenshots diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 397c9b7d05..03ba8af176 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -267,7 +267,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 12 @@ -276,7 +276,7 @@ jobs: run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Cache Yarn dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}