From 08e94b7f4af3fc4403959282bf81c490ebdf9e72 Mon Sep 17 00:00:00 2001 From: Benjamin Schwendinger <52290390+ben-schwen@users.noreply.github.com> Date: Fri, 8 Nov 2024 19:13:40 +0100 Subject: [PATCH] update github action versions (#6598) --- .github/workflows/R-CMD-check-occasional.yaml | 2 +- .github/workflows/R-CMD-check.yaml | 4 ++-- .github/workflows/pkgup.yaml | 8 ++++---- .github/workflows/rchk.yaml | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/R-CMD-check-occasional.yaml b/.github/workflows/R-CMD-check-occasional.yaml index dee8bf452b..512617c8c8 100644 --- a/.github/workflows/R-CMD-check-occasional.yaml +++ b/.github/workflows/R-CMD-check-occasional.yaml @@ -65,7 +65,7 @@ jobs: echo "LC_ALL=lv_LV.utf8" >> $GITHUB_ENV echo "LANGUAGE=lv_LV" >> $GITHUB_ENV - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: r-lib/actions/setup-r@v2 with: diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 75e1231afc..09a52076a2 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -37,7 +37,7 @@ jobs: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: r-lib/actions/setup-r@v2 with: @@ -52,7 +52,7 @@ jobs: shell: Rscript {0} - name: Restore R package cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ${{ env.R_LIBS_USER }} key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }} diff --git a/.github/workflows/pkgup.yaml b/.github/workflows/pkgup.yaml index 59288cc6de..fa93dab4d1 100644 --- a/.github/workflows/pkgup.yaml +++ b/.github/workflows/pkgup.yaml @@ -22,11 +22,11 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: r-lib/actions/setup-pandoc@v2 - uses: r-lib/actions/setup-r@v2 - name: cache-r-dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.R_LIBS_USER }}/* key: library-cache-${{ github.run_id }} @@ -65,10 +65,10 @@ jobs: Rscript -e 'tools::write_PACKAGES("public/src/contrib", fields="Revision")' - name: upload if: github.ref == 'refs/heads/master' - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v4 with: path: "public" - name: deploy if: github.ref == 'refs/heads/master' id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4 diff --git a/.github/workflows/rchk.yaml b/.github/workflows/rchk.yaml index 96b982ca8e..95b7c33d90 100644 --- a/.github/workflows/rchk.yaml +++ b/.github/workflows/rchk.yaml @@ -26,7 +26,7 @@ jobs: rchk: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: r-lib/actions/setup-r@v2 with: r-version: 'devel'