Skip to content

Commit

Permalink
Migrate to Node 20 actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jdblischak committed Jul 9, 2024
1 parent 23ae54b commit fbdf380
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cross-platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/current.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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') }}
Expand Down Expand Up @@ -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
6 changes: 3 additions & 3 deletions .github/workflows/future.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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') }}
Expand Down Expand Up @@ -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
8 changes: 4 additions & 4 deletions .github/workflows/legacy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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') }}
Expand All @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/pandocless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spell-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-conda-lockfiles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fbdf380

Please sign in to comment.