Skip to content

Commit

Permalink
Merge pull request #1240 from github/test-fixes
Browse files Browse the repository at this point in the history
update ruby version in tests to match gh pages version
  • Loading branch information
mlinksva authored Aug 30, 2024
2 parents e7e937b + 8c85628 commit 2ab4f2b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.4
ruby-version: 3.3.4
bundler-cache: true

- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
AllCops:
NewCops: enable
TargetRubyVersion: 2.7
TargetRubyVersion: 3.3
Exclude:
- _site/**/*
- vendor/**/*
Expand Down
2 changes: 1 addition & 1 deletion script/check-approval
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ rows << :separator
eligible = !current && spdx && approved_licenses.include?(license)
rows << ['Eligible', eligible]

puts Terminal::Table.new title: "License: #{license}", rows: rows
puts Terminal::Table.new title: "License: #{license}", rows:
puts
puts "Code search: https://github.com/search?q=#{license}+filename%3ALICENSE&type=Code"

Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def licenses_path
def config
SpecHelper.config ||= begin
config = Jekyll::Configuration.new.read_config_file config_file
config = Jekyll::Utils.deep_merge_hashes(config, source: source)
config = Jekyll::Utils.deep_merge_hashes(config, source:)
Jekyll::Utils.deep_merge_hashes(Jekyll::Configuration::DEFAULTS, config)
end
end
Expand Down

0 comments on commit 2ab4f2b

Please sign in to comment.