Title: ci: replace disallowed third-party actions in build workflow by andygrove · Pull Request #16 · apache/datafusion-java · GitHub
Open Graph Title: ci: replace disallowed third-party actions in build workflow by andygrove · Pull Request #16 · apache/datafusion-java
X Title: ci: replace disallowed third-party actions in build workflow by andygrove · Pull Request #16 · apache/datafusion-java
Description: 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.
Open Graph Description: 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 no...
X Description: 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 no...
Opengraph URL: https://github.com/apache/datafusion-java/pull/16
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8f17e277-e6fb-1dea-410a-33d736df1a68 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BF1C:279C41:24F63D:350275:6B046A64 |
| html-safe-nonce | 369b4f52050834f8f63beb6790fa24f1021835057a087b554b4123016766e4ed |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjFDOjI3OUM0MToyNEY2M0Q6MzUwMjc1OjZCMDQ2QTY0IiwidmlzaXRvcl9pZCI6IjExOTE0NjUxNjEzOTE4OTMwOTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6af2d751e0d59527bf7cbbcb7f99af837757bd67262ca0c618cf18ba222912c8 |
| hovercard-subject-tag | pull_request:3673272976 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/apache/datafusion-java/pull/16/files |
| twitter:image | https://avatars.githubusercontent.com/u/934084?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/934084?s=400&v=4 |
| og:image:alt | 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 no... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/apache/datafusion-java git https://github.com/apache/datafusion-java.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 1237105117 |
| octolytics-dimension-repository_nwo | apache/datafusion-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1237105117 |
| octolytics-dimension-repository_network_root_nwo | apache/datafusion-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width