Skip to content

Commit c84e9cb

Browse files
committed
Temporarily disable Windows CI matrix for Ruby 2.7
This PR temporarily disables Windows CI matrix for Ruby 2.7 to prevent the following CI error until the MSYS2 issue ruby/setup-msys2-gcc#26 (comment) is resolved: ```console C:/hostedtoolcache/windows/Ruby/2.7.8/x64/lib/ruby/2.7.0/yaml.rb:3: warning: It seems your ruby installation is missing psych (for YAML output). To eliminate this warning, please install libyaml and reinstall your ruby. D:/a/rubocop/rubocop/vendor/bundle/ruby/2.7.0/gems/date-3.4.1/lib/date.rb:4:in `require': 127: The specified procedure could not be found. D:/a/rubocop/rubocop/vendor/bundle/ruby/2.7.0/gems/date-3.4.1/lib/date_core.so (LoadError) from D:/a/rubocop/rubocop/vendor/bundle/ruby/2.7.0/gems/date-3.4.1/lib/date.rb:4:in `<top (required)>' from D:/a/rubocop/rubocop/vendor/bundle/ruby/2.7.0/gems/psych-5.2.5/lib/psych.rb:2:in `require' from D:/a/rubocop/rubocop/vendor/bundle/ruby/2.7.0/gems/psych-5.2.5/lib/psych.rb:2:in `<top (required)>' from C:/hostedtoolcache/windows/Ruby/2.7.8/x64/lib/ruby/2.7.0/yaml.rb:4:in `require' from C:/hostedtoolcache/windows/Ruby/2.7.8/x64/lib/ruby/2.7.0/yaml.rb:4:in `<top (required)>' from D:/a/rubocop/rubocop/lib/rubocop/config_loader_resolver.rb:4:in `require' from D:/a/rubocop/rubocop/lib/rubocop/config_loader_resolver.rb:4:in `<top (required)>' from D:/a/rubocop/rubocop/lib/rubocop.rb:769:in `require_relative' from D:/a/rubocop/rubocop/lib/rubocop.rb:769:in `<top (required)>' from -e:in `require' ``` https://github.com/rubocop/rubocop/actions/runs/14943230758/job/41983280752 Please refer to the following for context: ruby/psych#730
1 parent 6e9277d commit c84e9cb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/rubocop.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ jobs:
6565
fail-fast: false
6666
matrix:
6767
ruby:
68-
- '2.7' # Oldest supported version
68+
# FIXME: When the MSYS2 issue https://github.com/ruby/setup-msys2-gcc/pull/26#issuecomment-2874639475 is resolved,
69+
# please uncomment the following oldest supported version.
70+
# - '2.7' # Oldest supported version
6971
- 'ruby' # Latest stable CRuby version
7072

7173
steps:
@@ -110,7 +112,9 @@ jobs:
110112
matrix:
111113
os: [ubuntu, windows]
112114
ruby:
113-
- '2.7' # Oldest supported version
115+
# FIXME: When the MSYS2 issue https://github.com/ruby/setup-msys2-gcc/pull/26#issuecomment-2874639475 is resolved,
116+
# please uncomment the following oldest supported version.
117+
# - '2.7' # Oldest supported version
114118
- 'ruby' # Latest stable CRuby version
115119

116120
steps:

0 commit comments

Comments
 (0)