kou commented on code in PR #46812:
URL: https://github.com/apache/arrow/pull/46812#discussion_r2147310185


##########
.github/workflows/dev.yml:
##########
@@ -55,13 +55,15 @@ jobs:
           sudo apt update
           sudo apt install -y -V \
             pre-commit \
-            r-cran-xml2 \
+            r-base \

Review Comment:
   Thanks!



##########
.github/workflows/dev.yml:
##########
@@ -55,13 +55,15 @@ jobs:
           sudo apt update
           sudo apt install -y -V \
             pre-commit \
-            r-cran-xml2 \
+            r-base \
             ruby-dev
       - name: Cache pre-commit
         uses: actions/cache@v4
         with:
-          path: ~/.cache/pre-commit
-          key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
+          path: |
+            ~/.cache/pre-commit
+            ~/.local/share/renv/cache
+          key: pre-commit-v2-${{ hashFiles('.pre-commit-config.yaml') }}

Review Comment:
   I've removed the pre-commit cache from 
https://github.com/apache/arrow/actions/caches?query=key%3Apre-commit . So we 
can keep using the same key.
   
   ```suggestion
             key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to