From fbdf380285f8ea7e01f2f32b39dde1fc999b4e81 Mon Sep 17 00:00:00 2001 From: John Blischak Date: Tue, 9 Jul 2024 10:40:19 -0400 Subject: [PATCH] Migrate to Node 20 actions --- .github/workflows/cross-platform.yaml | 4 ++-- .github/workflows/current.yaml | 6 +++--- .github/workflows/future.yaml | 6 +++--- .github/workflows/legacy.yaml | 8 ++++---- .github/workflows/pandocless.yaml | 2 +- .github/workflows/spell-check.yaml | 2 +- .github/workflows/update-conda-lockfiles.yaml | 2 +- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/cross-platform.yaml b/.github/workflows/cross-platform.yaml index c40960c..86d9d05 100644 --- a/.github/workflows/cross-platform.yaml +++ b/.github/workflows/cross-platform.yaml @@ -28,11 +28,11 @@ jobs: TZ: UTC steps: - name: Checkout workflowr-pkg-tests - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: workflowr-pkg-tests - name: Checkout workflowr - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: workflowr/workflowr path: workflowr diff --git a/.github/workflows/current.yaml b/.github/workflows/current.yaml index 8513c3a..56cc285 100644 --- a/.github/workflows/current.yaml +++ b/.github/workflows/current.yaml @@ -11,7 +11,7 @@ jobs: RSPM: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest" GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: "workflowr/workflowr" - name: Install system dependencies @@ -40,7 +40,7 @@ jobs: with: r-version: "release" - name: Restore R package cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.R_LIBS_USER }}/* key: ubuntu-20.04-${{ steps.install-r.outputs.installed-r-version }}-1-${{ hashFiles('DESCRIPTION') }} @@ -71,7 +71,7 @@ jobs: shell: bash - name: Upload check results if: failure() - uses: actions/upload-artifact@main + uses: actions/upload-artifact@v4 with: name: current-results path: workflowr.Rcheck diff --git a/.github/workflows/future.yaml b/.github/workflows/future.yaml index 310ee11..3e40389 100644 --- a/.github/workflows/future.yaml +++ b/.github/workflows/future.yaml @@ -11,7 +11,7 @@ jobs: RSPM: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest" GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: "workflowr/workflowr" - name: Install system dependencies @@ -39,7 +39,7 @@ jobs: with: r-version: "devel" - name: Restore R package cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.R_LIBS_USER }}/* key: ubuntu-22.04-${{ steps.install-r.outputs.installed-r-version }}-1-${{ hashFiles('DESCRIPTION') }} @@ -90,7 +90,7 @@ jobs: shell: bash - name: Upload check results if: failure() - uses: actions/upload-artifact@main + uses: actions/upload-artifact@v4 with: name: future-results path: workflowr.Rcheck diff --git a/.github/workflows/legacy.yaml b/.github/workflows/legacy.yaml index ee8d116..fb49f28 100644 --- a/.github/workflows/legacy.yaml +++ b/.github/workflows/legacy.yaml @@ -11,11 +11,11 @@ jobs: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} steps: - name: "Checkout workflowr-pkg-tests" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: "workflowr-pkg-tests" - name: "Checkout workflowr" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: "workflowr/workflowr" path: "workflowr" @@ -44,7 +44,7 @@ jobs: with: r-version: 3.3.3 - name: Restore R package cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.R_LIBS_USER }}/* key: ubuntu-20.04-${{ steps.install-r.outputs.installed-r-version }}-1-${{ hashFiles('DESCRIPTION') }} @@ -71,7 +71,7 @@ jobs: working-directory: "workflowr" - name: Upload check results if: failure() - uses: actions/upload-artifact@main + uses: actions/upload-artifact@v4 with: name: legacy-results path: workflowr/workflowr.Rcheck diff --git a/.github/workflows/pandocless.yaml b/.github/workflows/pandocless.yaml index 23a3d9d..bdec1b2 100755 --- a/.github/workflows/pandocless.yaml +++ b/.github/workflows/pandocless.yaml @@ -13,7 +13,7 @@ jobs: _R_CHECK_CRAN_INCOMING_: TRUE _R_CHECK_CRAN_INCOMING_REMOTE_: FALSE steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: "workflowr/workflowr" - name: Setup r2u diff --git a/.github/workflows/spell-check.yaml b/.github/workflows/spell-check.yaml index bb25f95..cf6a838 100755 --- a/.github/workflows/spell-check.yaml +++ b/.github/workflows/spell-check.yaml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-22.04 name: spell-check steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: "workflowr/workflowr" - name: Setup r2u diff --git a/.github/workflows/update-conda-lockfiles.yaml b/.github/workflows/update-conda-lockfiles.yaml index 82a1309..8d1a2cd 100644 --- a/.github/workflows/update-conda-lockfiles.yaml +++ b/.github/workflows/update-conda-lockfiles.yaml @@ -23,7 +23,7 @@ jobs: run: shell: ${{ matrix.config.shell }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Mambaforge uses: conda-incubator/setup-miniconda@v2 with: