CI: Linting the YAML

GitHub's editor made linting complaints about the expression of the list. This Expands the list to "bullet-point form".

The 3.0 stringifies as "3". so, in order to be consistent, quote it.
This commit is contained in:
Olle Jonsson 2022-01-27 08:57:06 +01:00 committed by Ryan Bigg
parent f80e96ad37
commit 7c8b957c8d
1 changed files with 7 additions and 9 deletions

View File

@ -19,21 +19,19 @@ jobs:
matrix:
ruby_version: [3.1, "3.0", 2.7, 2.6, jruby]
gemfile:
[
Gemfile,
gemfiles/Gemfile.rails-5.2.x,
gemfiles/Gemfile.rails-6.0.x,
gemfiles/Gemfile.rails-6.1.x,
gemfiles/Gemfile.rails-7.0.x,
gemfiles/Gemfile.rails-main,
]
- Gemfile
- gemfiles/Gemfile.rails-5.2.x
- gemfiles/Gemfile.rails-6.0.x
- gemfiles/Gemfile.rails-6.1.x
- gemfiles/Gemfile.rails-7.0.x
- gemfiles/Gemfile.rails-main
exclude:
# Ruby 3.1 is not supported by Rails 5.2.x
- ruby_version: 3.1
gemfile: gemfiles/Gemfile.rails-5.2.x
# Ruby 3.x is not supported by Rails 5.2.x
- ruby_version: 3.0
- ruby_version: "3.0"
gemfile: gemfiles/Gemfile.rails-5.2.x
# Ruby 2.6.x is not supported by Rails main