Skip to content

Commit

Permalink
Update staged.dependencies version to v0.2.2 (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
cicdguy authored Oct 7, 2021
1 parent 7c72fab commit dbfda0f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-check-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
shell: bash

- name: Gather info from PR
uses: actions/github-script@v4
uses: actions/github-script@v5
id: get-pr
if: github.event_name == 'pull_request'
with:
Expand All @@ -48,7 +48,7 @@ jobs:
}
core.info(`Getting PR #${request.pull_number} from ${request.owner}/${request.repo}`)
try {
const result = await github.pulls.get(request)
const result = await github.rest.pulls.get(request)
return result.data
} catch (err) {
core.setFailed(`Request failed with error ${err}`)
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2

- name: Gather info from PR
uses: actions/github-script@v4
uses: actions/github-script@v5
id: get-pr
if: github.event_name == 'pull_request'
with:
Expand All @@ -42,7 +42,7 @@ jobs:
}
core.info(`Getting PR #${request.pull_number} from ${request.owner}/${request.repo}`)
try {
const result = await github.pulls.get(request)
const result = await github.rest.pulls.get(request)
return result.data
} catch (err) {
core.setFailed(`Request failed with error ${err}`)
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/roxygen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Gather info from PR
uses: actions/github-script@v4
uses: actions/github-script@v5
id: get-pr
if: github.event_name == 'pull_request'
with:
Expand All @@ -28,7 +28,7 @@ jobs:
}
core.info(`Getting PR #${request.pull_number} from ${request.owner}/${request.repo}`)
try {
const result = await github.pulls.get(request)
const result = await github.rest.pulls.get(request)
return result.data
} catch (err) {
core.setFailed(`Request failed with error ${err}`)
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
if (file.exists("staged_dependencies.yaml")) {
cat("\nInstall Staged Dependencies\n\n\n")
if (!require("staged.dependencies")) {
remotes::install_github("openpharma/staged.dependencies", ref = "v0.2.1", Ncpus = ncores, upgrade = "never")
remotes::install_github("openpharma/staged.dependencies", ref = "v0.2.2", Ncpus = ncores, upgrade = "never")
}
cat("\nCalculating Staged Dependency Table...\n\n")
x <- staged.dependencies::dependency_table()
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/stageddeps-consistency-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Gather info from PR
uses: actions/github-script@v4
uses: actions/github-script@v5
id: get-pr
if: github.event_name == 'pull_request'
with:
Expand All @@ -28,7 +28,7 @@ jobs:
}
core.info(`Getting PR #${request.pull_number} from ${request.owner}/${request.repo}`)
try {
const result = await github.pulls.get(request)
const result = await github.rest.pulls.get(request)
return result.data
} catch (err) {
core.setFailed(`Request failed with error ${err}`)
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
if (file.exists("staged_dependencies.yaml")) {
cat("\nInstall Staged Dependencies\n\n\n")
if (!require("staged.dependencies")) {
remotes::install_github("openpharma/staged.dependencies", ref = "v0.2.1", Ncpus = ncores, upgrade = "never")
remotes::install_github("openpharma/staged.dependencies", ref = "v0.2.2", Ncpus = ncores, upgrade = "never")
}
cat("\nCalculating Staged Dependency Table...\n\n")
x <- staged.dependencies::dependency_table()
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v2

- name: Gather info from PR
uses: actions/github-script@v4
uses: actions/github-script@v5
id: get-pr
if: github.event_name == 'pull_request'
with:
Expand All @@ -32,7 +32,7 @@ jobs:
}
core.info(`Getting PR #${request.pull_number} from ${request.owner}/${request.repo}`)
try {
const result = await github.pulls.get(request)
const result = await github.rest.pulls.get(request)
return result.data
} catch (err) {
core.setFailed(`Request failed with error ${err}`)
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
if (file.exists("staged_dependencies.yaml")) {
cat("\nInstall Staged Dependencies\n\n\n")
if (!require("staged.dependencies")) {
remotes::install_github("openpharma/staged.dependencies", ref = "v0.2.1", Ncpus = ncores, upgrade = "never")
remotes::install_github("openpharma/staged.dependencies", ref = "v0.2.2", Ncpus = ncores, upgrade = "never")
}
cat("\nCalculating Staged Dependency Table...\n\n")
x <- staged.dependencies::dependency_table()
Expand Down

0 comments on commit dbfda0f

Please sign in to comment.