You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by ag...@apache.org on 2026/05/13 03:44:00 UTC

(datafusion-java) branch main updated: ci: replace disallowed third-party actions in build workflow (#16)

This is an automated email from the ASF dual-hosted git repository.

andygrove pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-java.git


The following commit(s) were added to refs/heads/main by this push:
     new 1da3233  ci: replace disallowed third-party actions in build workflow (#16)
1da3233 is described below

commit 1da32338c44eef5c5325290cc1a52eadf7cca0b3
Author: Andy Grove <ag...@apache.org>
AuthorDate: Tue May 12 21:43:54 2026 -0600

    ci: replace disallowed third-party actions in build workflow (#16)
---
 .github/workflows/build.yml | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2db4afc..de739cc 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -41,12 +41,19 @@ jobs:
           cache: maven
 
       - name: Set up Rust toolchain
-        uses: dtolnay/rust-toolchain@stable
+        run: |
+          rustup update stable
+          rustup default stable
 
-      - name: Cache cargo build
-        uses: Swatinem/rust-cache@v2
+      - name: Cache cargo
+        uses: actions/cache@v4
         with:
-          workspaces: native
+          path: |
+            ~/.cargo/registry
+            ~/.cargo/git
+            native/target
+          key: ${{ runner.os }}-cargo-${{ hashFiles('native/Cargo.lock') }}
+          restore-keys: ${{ runner.os }}-cargo-
 
       - name: Build native and run JVM tests
         run: make test


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org