Skip to content

CASSNODEJS-12: Deno and Bun support#466

Open
SiyaoIsHiding wants to merge 3 commits into
apache:trunkfrom
SiyaoIsHiding:deno-bun
Open

CASSNODEJS-12: Deno and Bun support#466
SiyaoIsHiding wants to merge 3 commits into
apache:trunkfrom
SiyaoIsHiding:deno-bun

Conversation

@SiyaoIsHiding

Copy link
Copy Markdown
Contributor

Previous PR #465 didn't work unfortunately because

The actions oven-sh/setup-bun@v2 and denoland/setup-deno@v2 are not allowed in apache/cassandra-nodejs-driver because all actions must be from a repository owned by your enterprise, created by GitHub, or match one of the patterns:...

This PR implements setup-deno and setup-bun so we don't reply on third party github actions, and extracts the duplicated logic into reusable composite workflows.

@SiyaoIsHiding

Copy link
Copy Markdown
Contributor Author

@jorgebay

Copy link
Copy Markdown
Contributor

This is great, thanks!

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR replaces disallowed third-party GitHub Actions for Bun/Deno setup with in-repo composite actions, and deduplicates the repeated CCM/JDK/SSL/Simulacron/Cassandra predownload setup across workflows.

Changes:

  • Swapped oven-sh/setup-bun and denoland/setup-deno usage for local composite actions.
  • Extracted repeated CCM + Java + cert generation + Simulacron + Cassandra predownload logic into ./.github/actions/setup-ccm.
  • Updated unit/integration workflows to consume the new composite actions.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
.github/workflows/test.yml Uses local setup actions for Bun/Deno and consolidates CCM setup into a composite action.
.github/workflows/integration-bun-deno.yml Reuses the new CCM/Bun/Deno composite actions to remove duplicated workflow steps.
.github/actions/setup-deno/action.yml Adds an in-repo composite action to install Deno via the official install script.
.github/actions/setup-bun/action.yml Adds an in-repo composite action to install Bun via the official install script.
.github/actions/setup-ccm/action.yml Adds a composite action encapsulating CCM/JDK/SSL/Simulacron setup and Cassandra version resolution/predownload.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/actions/setup-deno/action.yml
Comment thread .github/actions/setup-bun/action.yml
Comment thread .github/actions/setup-ccm/action.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants