Repository navigation
Commit 0f542ea
ci: test against Ruby 4.0 and ruby-head (#133)
* ci: test against Ruby 3.5 and ruby-head
Extend the CI matrix to cover newer Ruby versions so we catch
incompatibilities early. Adds Ruby 3.5 to the supported matrix and
a non-blocking ruby-head build (continue-on-error) to surface
upcoming breakage without failing the suite.
Also sets fail-fast: false so one version failing doesn't cancel the
rest of the matrix.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* ci: target Ruby 4.0 stable instead of 3.5
Ruby 3.5 never shipped as a stable release; the December 2025 release
was branded Ruby 4.0. Point the matrix at the actual current stable
(4.0) instead of the 3.5 preview line.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* deps: support Ruby 4.0 (ostruct, terminal-table 4.0, loosen linters)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* deps: keep terminal-table ~> 3.0 for Ruby 2.6/2.7 compatibility
terminal-table 4.0 requires unicode-display_width ~> 3.0, which conflicts
with every rubocop that still supports Ruby 2.7 (needs < 3.0). Bundler
silently backtracked rubocop to 0.7.2, which lacks rubocop/rake_task and
broke the suite on 2.6/2.7. terminal-table 3.x works on Ruby 4.0, so the
4.0 bump was unnecessary.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* test: reset Skunk::Config to fix order-dependent formats test
Skunk::Config is a process-global singleton. config_test.rb mutated
Config.formats but only reset in setup, so it leaked [:html, :json] into
other files. Under minitest's randomized order this intermittently failed
argv_test.rb's 'defaults to console format' expectation (seen on the
Ruby 3.2 CI job). Reset Config in config_test teardown and before/after
the argv formats tests so the suite is order-independent.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 6c28a2b commit 0f542ea
5 files changed
Lines changed: 20 additions & 4 deletions
File tree
- .github/workflows
- test/lib/skunk
- cli/options
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
46 | | - | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
14 | 20 | | |
15 | 21 | | |
16 | 22 | | |
| |||
0 commit comments