Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch to r-lib/actions/setup-r-dependencies@v2 #274

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
10 changes: 5 additions & 5 deletions .github/workflows/build-check-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,28 +146,28 @@ on:
default: ""
skip-desc-branch:
description: |
Passed to `insightsengineering/setup-r-dependencies`.
Passed to `r-lib/setup-r-dependencies`.
Used only if deps-installation-method == 'setup-r-dependencies'.
required: false
type: boolean
default: false
skip-desc-dev:
description: |
Passed to `insightsengineering/setup-r-dependencies`.
Passed to `r-lib/setup-r-dependencies`.
Used only if deps-installation-method == 'setup-r-dependencies'.
required: false
type: boolean
default: false
repository-list:
description: |
Passed to `insightsengineering/setup-r-dependencies`.
Passed to `r-lib/setup-r-dependencies`.
Used only if deps-installation-method == 'setup-r-dependencies'.
required: false
type: string
default: "PPM=PPM@latest"
cache-version:
description: |
Passed to `insightsengineering/setup-r-dependencies`.
Passed to `r-lib/setup-r-dependencies`.
Used only if deps-installation-method == 'setup-r-dependencies'.
required: false
type: string
Expand Down Expand Up @@ -441,7 +441,7 @@ jobs:
if: >-
env.deps_installation_method == 'setup-r-dependencies'
&& inputs.install-deps-from-package-repositories == ''
uses: insightsengineering/setup-r-dependencies@v1
uses: r-lib/actions/setup-r-dependencies@v2
env:
GITHUB_PAT: ${{ steps.github-token.outputs.token }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ jobs:
- name: Setup R dependencies 🎦
if: >-
inputs.deps-installation-method == 'setup-r-dependencies'
uses: insightsengineering/setup-r-dependencies@v1
uses: r-lib/actions/setup-r-dependencies@v2
env:
GITHUB_PAT: ${{ steps.github-token.outputs.token }}
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/revdepcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
shell: bash

- name: Install dependencies
uses: insightsengineering/setup-r-dependencies@v1
uses: r-lib/actions/setup-r-dependencies@v2
env:
GITHUB_PAT: ${{ steps.github-token.outputs.token }}
with:
Expand All @@ -100,7 +100,7 @@ jobs:

- name: revdepcheck 🔄
id: revdepcheck
uses: insightsengineering/r-revdepcheck-action@main
uses: r-lib/r-revdepcheck-action@main
with:
github-token: ${{ steps.github-token.outputs.token }}
additional-env-vars: ${{ inputs.additional-env-vars }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
with:
job-config: ${{ matrix.config.job-config }}

- uses: insightsengineering/setup-r-dependencies@v1
- uses: r-lib/actions/setup-r-dependencies@v2
env:
GITHUB_PAT: ${{ steps.github-token.outputs.token }}
with:
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
with:
job-config: ${{ matrix.config.job-config }}

- uses: insightsengineering/setup-r-dependencies@v1
- uses: r-lib/actions/setup-r-dependencies@v2
env:
GITHUB_PAT: ${{ steps.github-token.outputs.token }}
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/roxygen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ on:
default: staged-dependencies
lookup-refs:
description: |
Passed to insightsengineering/setup-r-dependencies. See its documentation.
Passed to r-lib/setup-r-dependencies. See its documentation.
Used only if deps-installation-method == 'setup-r-dependencies'.
required: false
type: string
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
- name: Setup R dependencies 🎦
if: >-
env.deps_installation_method == 'setup-r-dependencies'
uses: insightsengineering/setup-r-dependencies@v1
uses: r-lib/actions/setup-r-dependencies@v2
env:
GITHUB_PAT: ${{ steps.github-token.outputs.token }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ jobs:
- name: Setup R dependencies 🎦
if: >-
inputs.deps-installation-method == 'setup-r-dependencies'
uses: insightsengineering/setup-r-dependencies@v1
uses: r-lib/actions/setup-r-dependencies@v2
env:
GITHUB_PAT: ${{ steps.github-token.outputs.token }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
- name: Setup R dependencies 🎦
if: >-
inputs.deps-installation-method == 'setup-r-dependencies'
uses: insightsengineering/setup-r-dependencies@v1
uses: r-lib/actions/setup-r-dependencies@v2
env:
GITHUB_PAT: ${{ steps.github-token.outputs.token }}
with:
Expand Down