Skip to content

Commit dbb75bf

Browse files
Copilotkojix2
andauthored
Update GitHub Actions workflows to test Ruby 3.2, 3.3, and 3.4 (#11)
This PR updates the GitHub Actions workflows to test against the latest Ruby versions (3.2, 3.3, and 3.4) while dropping support for older versions (3.0 and 3.1). ## Changes Made ### `.github/workflows/test.yml` - Updated the Ruby version matrix from `["3.0", "3.1", "3.2", "3.3"]` to `["3.2", "3.3", "3.4"]` - Maintained all existing OS targets (macOS, Ubuntu, Windows) and scheduling configuration - All GitHub Actions versions remain up-to-date (checkout@v5, ruby/setup-ruby@v1, cache@v4) ### `.github/workflows/release.yml` - Added explicit Ruby setup step after checkout to ensure consistent runtime environment - Uses `ruby-version: "ruby"` which automatically uses the latest stable Ruby version instead of a hardcoded version ### `.gitignore` - Added `/vendor/` and `/.bundle/` to prevent committing Bundler artifacts ## Testing - All workflow YAML files pass syntax validation - Existing test suite continues to pass (8 tests, 11 assertions, 0 failures) - Changes are minimal and surgical, affecting only the specified configuration files This update aligns the CI pipeline with current Ruby ecosystem practices while maintaining backward compatibility for the supported Ruby versions. <!-- START COPILOT CODING AGENT TIPS --> --- 💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more [Copilot coding agent tips](https://gh.io/copilot-coding-agent-tips) in the docs. --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: kojix2 <[email protected]>
1 parent 5d8d7e6 commit dbb75bf

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ jobs:
1010
timeout-minutes: 10
1111
steps:
1212
- uses: actions/checkout@v5
13+
- uses: ruby/setup-ruby@v1
14+
with:
15+
ruby-version: "ruby"
1316
- name: Extract release note
1417
run: |
1518
ruby \

.github/workflows/test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
ruby-version:
19-
- "3.0"
20-
- "3.1"
2119
- "3.2"
2220
- "3.3"
21+
- "3.4"
2322
runs-on:
2423
- macos-latest
2524
- ubuntu-latest

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
/_site/
33
/pkg/
44
/doc/
5-
.yardoc
5+
.yardoc
6+
/vendor/
7+
/.bundle/

0 commit comments

Comments
 (0)