Skip to content

Commit ea5be3d

Browse files
fix: use pipx instead of global pip
1 parent 586ca6c commit ea5be3d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/hook-dependencies-update.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
- uses: r-lib/actions/setup-r@v2
1818
with:
1919
use-public-rspm: true
20-
cache: false
2120
- name: install runtime dependencies
2221
run: Rscript -e "install.packages(c('renv', 'jsonlite'))"
2322
- name: update PPM URL
@@ -27,7 +26,9 @@ jobs:
2726
- name: update existing packages
2827
run: Rscript inst/update-dependency-graph-existing-packages.R
2928
- name: install pre-commit
30-
run: pip3 install pre-commit
29+
run: |
30+
brew install pipx
31+
pipx install pre-commit
3132
- name: auto-release
3233
run: Rscript -e 'source("renv/activate.R"); renv::restore(); renv::install("."); precommit:::auto_release()'
3334
- name: Create Pull Request

0 commit comments

Comments
 (0)