Skip to content

Update bson-ruby.yml workflow #354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 22, 2025

Conversation

MSP-Greg
Copy link
Contributor

Updates the main CI file bson-ruby.yml

  1. Add workflow_dispatch - this is used in other workflows here. It allows maintainers to force a CI run. It also does the same for users with forks of this repo. Helpful for when changes to dependencies (or Ruby) happen that may affect this.

  2. Update actions/checkout to actions/checkout@v4. Used in other workflows

  3. Add quotes to 3.0. Actions' yaml parser truncates decimal zeros. So, unquoted 3.0 will specify 3, and unquoted 3.10 will specify 3.1. See recent workflow.

  4. WIndows - use ucrt instead of mingw. Ruby 3.0 was the last publicly available mingw build. Or, Ruby 3.5 will be released as a ucrt build. Hence, better to test with a Ruby head ucrt.

  5. There are quite a few items installed via bundler, use caching.

@MSP-Greg MSP-Greg requested a review from a team as a code owner May 17, 2025 12:42
@MSP-Greg MSP-Greg requested a review from comandeo-mongo May 17, 2025 12:42
@comandeo-mongo comandeo-mongo merged commit 71be4bc into mongodb:master May 22, 2025
49 checks passed
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.

2 participants