Skip to content

Commit

Permalink
switch to r-lib/actions/setup-r-dependencies@v2
Browse files Browse the repository at this point in the history
  • Loading branch information
m7pr committed Jan 29, 2025
1 parent 261b61f commit 1fcaf35
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
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

0 comments on commit 1fcaf35

Please sign in to comment.