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

fix(ci): Pin r-lib actions as a workaround for latest action updates #2051

Merged
merged 3 commits into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/r-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/r-extended.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
Loading