Skip to content

Commit

Permalink
CI: Linting the YAML
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
olleolleolle committed Jan 27, 2022
1 parent c69b741 commit 70a3945
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/ruby.yml
Expand Up @@ -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
Expand Down

0 comments on commit 70a3945

Please sign in to comment.