This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new 30ad31ccd fix(ci): Pin r-lib actions as a workaround for latest action
updates (#2051)
30ad31ccd is described below
commit 30ad31ccd8d5f7e13921750a1726d8d93a73eea0
Author: Dewey Dunnington <[email protected]>
AuthorDate: Mon Aug 5 20:57:32 2024 -0300
fix(ci): Pin r-lib actions as a workaround for latest action updates (#2051)
The R check actions are currently failing because an update to r-lib
actions resulted in some quarto actions being invoked, and these have
not yet been whitelisted for use in Apache repositories. We don't
actually need quarto for anything in the R package; however, the action
is written in such a way that even though the step is skipped, the
action is still loaded (and therefore its name is checked against the
whitelist).
Unrelatedly, the extended R check was failing because I forgot to copy a
change from #1965 into one of the workflows that only runs once a week.
---
.github/workflows/r-check.yml | 2 +-
.github/workflows/r-extended.yml | 14 +++++++++++++-
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/r-check.yml b/.github/workflows/r-check.yml
index 422d4cda3..39cc965b7 100644
--- a/.github/workflows/r-check.yml
+++ b/.github/workflows/r-check.yml
@@ -70,7 +70,7 @@ jobs:
Rscript bootstrap.R
popd
- - uses: r-lib/actions/setup-r-dependencies@v2
+ - uses:
r-lib/actions/setup-r-dependencies@f4937e0dc26f9b99c969cd3e4ca943b576e7f991
with:
extra-packages: any::rcmdcheck, local::../adbcdrivermanager
needs: check
diff --git a/.github/workflows/r-extended.yml b/.github/workflows/r-extended.yml
index ccfd898ac..84deddfec 100644
--- a/.github/workflows/r-extended.yml
+++ b/.github/workflows/r-extended.yml
@@ -117,7 +117,19 @@ jobs:
run: |
sudo apt-get install -y valgrind
- - uses: r-lib/actions/setup-r-dependencies@v2
+ # Usually, pak::pkg_install() will run bootstrap.R if it is included and
is declared;
+ # however, this doesn't work for local:: for some reason (which is what
+ # setup-r-dependencies uses under the hood)
+ - name: Bootstrap R Package
+ run: |
+ pushd r/adbcdrivermanager
+ Rscript bootstrap.R
+ popd
+ pushd "r/${{ matrix.pkg }}"
+ Rscript bootstrap.R
+ popd
+
+ - uses:
r-lib/actions/setup-r-dependencies@f4937e0dc26f9b99c969cd3e4ca943b576e7f991
with:
extra-packages: local::../adbcdrivermanager
working-directory: r/${{ matrix.pkg }}