From 7c8b957c8d279007abc39b4bcf7f2bec2c715c5b Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Thu, 27 Jan 2022 08:57:06 +0100 Subject: [PATCH] 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. --- .github/workflows/ruby.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index af8f577..81c1295 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -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