andygrove opened a new pull request, #16:
URL: https://github.com/apache/datafusion-java/pull/16

   ## Which issue does this PR close?
   
   Follow-up to #15.
   
   ## Rationale for this change
   
   The Build workflow added in #15 fails immediately on every run with 
`startup_failure`:
   
   > `dtolnay/rust-toolchain@stable` is not allowed in `apache/datafusion-java` 
because all actions must be from a repository owned by […]
   
   ASF infra restricts GitHub Actions to a curated allowlist (mostly 
`actions/*` plus a small set of approved third parties). Both 
`dtolnay/rust-toolchain` and `Swatinem/rust-cache` fall outside that list, so 
the workflow aborts before any step runs and main currently has no working CI.
   
   ## What changes are included in this PR?
   
   - Drop `dtolnay/rust-toolchain@stable`. `ubuntu-latest` runners already ship 
with `rustup` and a stable toolchain, so a plain `run` step (`rustup update 
stable && rustup default stable`) is sufficient.
   - Replace `Swatinem/rust-cache@v2` with `actions/cache@v4`, keyed on 
`native/Cargo.lock` and caching `~/.cargo/registry`, `~/.cargo/git`, and 
`native/target`.
   
   ## How are these changes tested?
   
   Verified that the previous run on `main` (commit 058840a) failed with 
`startup_failure` due to the disallowed action. CI on this PR will exercise the 
replacement steps end-to-end before merge.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to